forked from Shardstone/trail-into-darkness
First commit on my server, yey!
This commit is contained in:
24
Assets/Code/Core/IGameState.cs
Normal file
24
Assets/Code/Core/IGameState.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
namespace Nox.Core {
|
||||
/// <summary>
|
||||
/// Add or modify project specific game states
|
||||
/// </summary>
|
||||
public enum GameState {
|
||||
Invalid,
|
||||
BootState,
|
||||
Loading,
|
||||
MainMenu,
|
||||
GameMode
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Prototype for creating application states
|
||||
/// </summary>
|
||||
public interface IGameState {
|
||||
public void EnterGameState();
|
||||
public GameState Tick();
|
||||
public void LateTick();
|
||||
public void ExitGameState();
|
||||
void Dispose();
|
||||
bool IsGameStateInitialized { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user