Interface IGameState
- Namespace
- FrameOfReference.States
- Assembly
- FrameOfReference.dll
public interface IGameState : IDisposable
- Inherited Members
Methods
BindLua(Lua)
Registers state-specific values in the given Lua environment.
void BindLua(Lua lua)
Parameters
luaLua
Enter()
Called when this state becomes the active state.
void Enter()
Exit()
Called when this state is no longer the active state.
void Exit()
Update(double)
Advances the state by elapsedTime seconds of real time. Called once per frame before rendering.
double Update(double elapsedTime)
Parameters
elapsedTimedouble
Returns
- double
The amount of game time that has passed. Drives time-based visual effects.