add Quit method to Game

pull/48/head
cosmonaut 2023-03-16 16:48:52 -07:00
parent 3a6b73e637
commit 80f3711f4c
1 changed files with 5 additions and 0 deletions

View File

@ -109,6 +109,11 @@ namespace MoonWorks
}
}
public void Quit()
{
quit = true;
}
protected abstract void Update(TimeSpan delta);
protected abstract void Draw(double alpha);
protected virtual void Destroy() {}