Cytopia  0.3
A city building simulation game
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GameMenu Struct Reference

#include <UIManager.hxx>

+ Inheritance diagram for GameMenu:
+ Collaboration diagram for GameMenu:

Public Types

using Ptr = std::shared_ptr< GameMenu >
 

Public Member Functions

virtual ~GameMenu ()=default
 
virtual void draw () const
 
virtual bool isMouseHovered () const
 
virtual void closeSubmenus ()
 

Detailed Description

Definition at line 11 of file UIManager.hxx.

Member Typedef Documentation

◆ Ptr

using GameMenu::Ptr = std::shared_ptr<GameMenu>

Definition at line 13 of file UIManager.hxx.

Constructor & Destructor Documentation

◆ ~GameMenu()

virtual GameMenu::~GameMenu ( )
virtualdefault

Member Function Documentation

◆ closeSubmenus()

virtual void GameMenu::closeSubmenus ( )
inlinevirtual

Reimplemented in BuildMenu.

Definition at line 19 of file UIManager.hxx.

20  { /* default implementation do nothing */
21  }

◆ draw()

virtual void GameMenu::draw ( ) const
inlinevirtual

Reimplemented in BuildMenu, LoadMenu, SettingsMenu, GameTimeMenu, and PauseMenu.

Definition at line 15 of file UIManager.hxx.

16  { /* default implementation do nothing */
17  }

◆ isMouseHovered()

virtual bool GameMenu::isMouseHovered ( ) const
inlinevirtual

Definition at line 18 of file UIManager.hxx.

18 { return false; }

The documentation for this struct was generated from the following file: