Open Source Tomb Raider Engine
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

Menu.h 485B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*!
  2. * \file include/Menu.h
  3. * \brief Menu 'overlay'
  4. *
  5. * \author xythobuz
  6. */
  7. #ifndef _MENU_H_
  8. #define _MENU_H_
  9. #include "Window.h"
  10. /*!
  11. * \brief Menu 'overlay'
  12. */
  13. class Menu {
  14. public:
  15. /*!
  16. * \brief Constructs an object of Menu
  17. */
  18. Menu();
  19. /*!
  20. * \brief Deconstructs an object of Menu
  21. */
  22. ~Menu();
  23. void setVisible(bool visible);
  24. bool isVisible();
  25. void display();
  26. private:
  27. bool mVisible;
  28. WindowString mainText;
  29. };
  30. #endif