Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6835 in orxonox.OLD for trunk/src/story_entities/simple_game_menu.h


Ignore:
Timestamp:
Jan 29, 2006, 11:59:39 PM (20 years ago)
Author:
patrick
Message:

trunk: resturcture of the game menu for multi-level menus

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/simple_game_menu.h

    r6696 r6835  
    1818class TiXmlElement;
    1919class ImageEntity;
     20
     21
     22
     23class MenuLayer
     24{
     25  public:
     26    MenuLayer() {}
     27    ~MenuLayer() {}
     28
     29
     30  public:
     31    std::vector<ImageEntity*>         menuList;                        //!< the list of the menu items
     32};
     33
    2034
    2135//! a simple game menu based on a story entity
     
    5266
    5367  private:
    54     std::vector<ImageEntity*>         menuList;                        //!< the list of the menu items
     68    std::vector<MenuLayer*>           menuLayer;                       //!< the menu layer
     69    MenuLayer*                        selectedLayer;                   //!< the selected menu layer
     70
     71    //std::vector<ImageEntity*>         menuList;                        //!< the list of the menu items
    5572    ImageEntity*                      menuSelected;                    //!< ref to the selected menu entity
    5673    ImageEntity*                      menuSelector;                    //!< ref to the selector image
Note: See TracChangeset for help on using the changeset viewer.