GeonBit Namespace |
Class | Description | |
---|---|---|
GeonBitGame |
GeonBit's basic 'Game' class, that replaces MonoGame 'Game'.
To use GeonBit, you need to implement a type of this class and implement your Draw(), Initialize() and Update() functions.
Note: since GeonBit already handles rendering and main loop internally, usually you only need to implement Initialize() and
let the components do all the logic.
After creating your GeonBitGame class, use it from your Program file like this:
GeonBitMain.Instance.Run(new EmptyGeonBitMain());
| |
GeonBitGame_InitParams |
Different params we can setup inside the constructor.
| |
GeonBitMain |
GeonBit engine main manager.
This singleton class contains misc configuration for GeonBit, the main Initialize function,
and Draw() / Update() functions that roll the entire engine.
To use GeonBit, you need to create a Game class that do the following:
1. call GeonBitMain.Instance.Initialize() from its Initialize() function.
2. call GeonBitMain.Instance.Update() from its Update() function.
3. call GeonBitMain.Instance.Draw() from its Draw() function.
| |
Program |
Program to execute GeonBit as a binary file, for test purposes.
Don't use this class.
|