Package mindustry.service
Class GameService
java.lang.Object
mindustry.service.GameService
Interface for handling game service across multiple platforms.
This includes:
- Desktop (Steam)
The default implementation does nothing.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clearAchievement
(String name) void
completeAchievement
(String name) boolean
enabled()
int
void
init()
Begin listening for new achievement events, once the game service is activated.boolean
isAchieved
(String name) void
void
-
Constructor Details
-
GameService
public GameService()
-
-
Method Details
-
init
public void init()Begin listening for new achievement events, once the game service is activated. This can be called at any time, but only once. -
enabled
public boolean enabled() -
completeAchievement
-
clearAchievement
-
isAchieved
-
getStat
-
setStat
-
storeStats
public void storeStats()
-