Init.
This commit is contained in:
17
Source/Game.cs
Executable file
17
Source/Game.cs
Executable file
@@ -0,0 +1,17 @@
|
||||
namespace DaggerFramework
|
||||
{
|
||||
public abstract class Game
|
||||
{
|
||||
public void Start()
|
||||
{
|
||||
LoadResources();
|
||||
OnStart();
|
||||
}
|
||||
protected abstract void OnStart();
|
||||
protected abstract void LoadResources();
|
||||
protected abstract void MainLoop();
|
||||
public abstract void Shutdown();
|
||||
|
||||
protected Scene scene;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user