1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-12-26 10:19:22 +01:00
MLEM/Docs/articles/startup.md
2020-05-22 23:31:23 +02:00

1,001 B

MLEM.Startup

MLEM.Startup is a simple package that contains a MlemGame class which extends MonoGame's Game. This class contains additional properties that most games created with MonoGame and MLEM will have:

  • An InputHandler
  • A SpriteBatch and GraphicsDeviceManager
  • A UiSystem
  • Some delegate callbacks for loading, updating and drawing that allow additional code to be executed from outside the game class

Additionally, it comes with the Coroutine package preinstalled. The Coroutine package allows creating and running operations alongside the regular game loop without asynchrony. It comes with a CoroutineEvents class that contains two types of events that are automatically invoked by MlemGame. For more information on how this is useful, see the Coroutine README.