Interface State
- All Superinterfaces:
EngineInputHandler, EngineUpdateHandler
Defines an engine state that can be pushed or popped from the
StateManager.- Author:
- Matthew Tropiano
-
Method Summary
Modifier and TypeMethodDescriptionvoidenter(StateConfig config) Called when this state has been activated or made current.voidexit()Called when this state is switched away.Methods inherited from interface EngineInputHandler
onInputFlag, onInputValueMethods inherited from interface EngineUpdateHandler
update
-
Method Details
-
enter
Called when this state has been activated or made current.- Parameters:
config- the configuration for this state.
-
exit
void exit()Called when this state is switched away.
-