Interface State

All Superinterfaces:
EngineInputHandler, EngineUpdateHandler

public interface State extends EngineUpdateHandler, EngineInputHandler
Defines an engine state that can be pushed or popped from the StateManager.
Author:
Matthew Tropiano
  • Method Details

    • enter

      void enter(StateConfig config)
      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.