Package org.tan.api
Class TanAPI
java.lang.Object
org.tan.api.TanAPI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract TanClaimManager
static TanAPI
TanAPI entry pointabstract TanLandmarkManager
abstract org.leralix.lib.data.PluginVersion
Get the minimum supporting map plugin version, used for ensuring compatibility with the map pluginabstract TanPlayerManager
abstract org.leralix.lib.data.PluginVersion
abstract TanTerritoryManager
static void
Register the TanAPI instance This method should never be called outside the TanAPI implementation
-
Constructor Details
-
TanAPI
protected TanAPI()
-
-
Method Details
-
register
Register the TanAPI instance This method should never be called outside the TanAPI implementation- Parameters:
api
- the TanAPI instance
-
getInstance
TanAPI entry point- Returns:
- the TanAPI instance
-
getPlayerManager
- Returns:
- the player manager, responsible for player access
-
getTerritoryManager
- Returns:
- the territory manager, responsible for territory access
-
getClaimManager
- Returns:
- the claim manager, responsible for information about claims
-
getLandmarkManager
- Returns:
- the landmark manager, responsible for landmark access
-
getPluginVersion
public abstract org.leralix.lib.data.PluginVersion getPluginVersion()- Returns:
- Get the plugin version
-
getMinimumSupportingMapPlugin
public abstract org.leralix.lib.data.PluginVersion getMinimumSupportingMapPlugin()Get the minimum supporting map plugin version, used for ensuring compatibility with the map plugin- Returns:
- the minimum supporting map plugin version
-