Package com.codingame.gameengine.core
Interface Module
- All Known Implementing Classes:
CameraModule
,EndScreenModule
,GraphicEntityModule
,ToggleModule
,TooltipModule
,ViewportModule
public interface Module
A Module can be registered to the
GameManager
in order to send information to the game view or provide utility functions to the
Referee.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called by the game manager after calling theReferee
's gameTurn method.void
Called by the game manager after calling theReferee
's onEnd method.void
Called by the game manager after calling theReferee
's init method.
-
Method Details
-
onGameInit
void onGameInit()Called by the game manager after calling theReferee
's init method. The module must be registered to the game manager. -
onAfterGameTurn
void onAfterGameTurn()Called by the game manager after calling theReferee
's gameTurn method. The module must be registered to the game manager. -
onAfterOnEnd
void onAfterOnEnd()Called by the game manager after calling theReferee
's onEnd method. The module must be registered to the game manager.
-