PauseSection class
#include <Jazz2/UI/Menu/PauseSection.h>
In-game menu root section.
Root screen of the in-game (pause) menu listing entries to resume the game, open options, exit, and, in multiplayer, spectate or change character.
Base classes
- class MenuSection
- Base class of a menu section.
Constructors, destructors, conversion operators
- PauseSection()
- Creates a new instance.
Public functions
- void OnShow(IMenuContainer* root) override
- Called when the section is shown.
- void OnUpdate(float timeMult) override
- Called when the section should be updated.
- void OnDraw(Canvas* canvas) override
- Called when the section should be drawn — the bottom background layer.
-
void OnTouchEvent(const nCine::
TouchEvent& event, Vector2i viewSize) override - Called when a touch event is triggered.