Interface GameManager
-
- All Known Implementing Classes:
Controller,EditorView,GameView,GameViewWithCamera
public interface GameManagerA test to group view and controllers. May be deleted again if useless.- Since:
- 1.2.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddispose()should be called if removed from memoryvoidenter()Should be called when the manager becomes active.voidexit()Should get called when you leave the editor.booleanisInitalized()voidonEnter()Override to specify what should happen when the mangager becomes active.
-
-
-
Method Detail
-
onEnter
void onEnter()
Override to specify what should happen when the mangager becomes active. Super call must not be implemented.
-
enter
void enter()
Should be called when the manager becomes active. CallsonEnter().- See Also:
onEnter()
-
exit
void exit()
Should get called when you leave the editor. To extend this method you should overwrite adn call super ethod.
-
isInitalized
boolean isInitalized()
- Returns:
-
dispose
void dispose()
should be called if removed from memory
-
-