BeginSection class
#include <Jazz2/UI/Menu/BeginSection.h>
Main menu root section.
Top-level main menu screen listing the primary entries (continue, play, multiplayer, highscores, options, about, and quit) that lead into the rest of the menu.
Base classes
- class MenuSection
- Base class of a menu section.
Constructors, destructors, conversion operators
- BeginSection()
- 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 OnDrawOverlay(Canvas* canvas) override
- Called when the section should be drawn — the top overlay layer.
-
void OnTouchEvent(const nCine::
TouchEvent& event, Vector2i viewSize) override - Called when a touch event is triggered.