Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 16, 2009, 2:11:14 AM (15 years ago)
Author:
landauf
Message:
  • Moved default-hud (chat, gamestate info) from Controller to HumanPlayer
  • Added support for a Gametype-HUD to Gametype and PlayerInfo
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/miniprojects/src/orxonox/objects/gametypes/Gametype.h

    r2768 r2789  
    112112                { return this->gtinfo_.startCountdown_; }
    113113
     114            inline void setHUDTemplate(const std::string& name)
     115                { this->gtinfo_.hudtemplate_ = name; }
     116            inline const std::string& getHUDTemplate() const
     117                { return this->gtinfo_.hudtemplate_; }
     118
    114119            void addBots(unsigned int amount);
    115120            void killBots(unsigned int amount = 0);
Note: See TracChangeset for help on using the changeset viewer.