Manages and displays the menu within a scene.
More...
|
| | this (Scene *owner) |
| | Constructs a MenuSystem with the given scene owner.
|
| |
|
override void | Update () |
| | Updates the menu system, invoking menu change callbacks.
|
| |
| override void | Render (SDL_Renderer *renderer) |
| | Renders the menu using the provided SDL renderer.
|
| |
| | typeof (this) OnMenuChange(void delegate(ulong) callback) |
| | Registers a callback function to be called when the menu changes.
|
| |
Manages and displays the menu within a scene.
◆ this()
| systems::menu::MenuSystem::this |
( |
Scene * | owner | ) |
|
|
inline |
Constructs a MenuSystem with the given scene owner.
- Parameters
-
| owner | Pointer to the scene that owns this menu system. |
◆ Render()
| override void systems::menu::MenuSystem::Render |
( |
SDL_Renderer * | renderer | ) |
|
|
inline |
Renders the menu using the provided SDL renderer.
- Parameters
-
| renderer | Pointer to the SDL renderer. |
◆ typeof()
| systems::menu::MenuSystem::typeof |
( |
this | | ) |
|
|
inline |
Registers a callback function to be called when the menu changes.
- Parameters
-
| callback | Delegate function to be called on menu change. |
- Returns
- Reference to the current MenuSystem instance.
The documentation for this class was generated from the following file: