- Timestamp:
- Feb 16, 2011, 11:17:30 AM (13 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
code/branches/lastmanstanding3/src/modules/overlays/hud/LastTeamStandingInfos.h
r7902 r7903 21 21 * 22 22 * Author: 23 * Fabian 'x3n' Landau23 * Johannes Ritz 24 24 * Co-authors: 25 * ...25 * 26 26 * 27 27 */ 28 28 29 #ifndef _ GametypeStatus_H__30 #define _ GametypeStatus_H__29 #ifndef _LastTeamStandingInfos_H__ 30 #define _LastTeamStandingInfos_H__ 31 31 32 32 #include "overlays/OverlaysPrereqs.h" … … 37 37 namespace orxonox 38 38 { 39 class _OverlaysExport GametypeStatus : public OverlayText, public Tickable39 class _OverlaysExport LastTeamStandingInfos : public OverlayText, public Tickable 40 40 { 41 41 public: 42 GametypeStatus(BaseObject* creator);43 virtual ~ GametypeStatus();42 LastTeamStandingInfos(BaseObject* creator); 43 virtual ~LastTeamStandingInfos(); 44 44 45 45 virtual void tick(float dt); 46 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 46 47 virtual void changedOwner(); 47 48 48 void setDisplayCaption(bool bValue); //!< Toggles whether the gametype status is displayed. 49 inline void setShowLives(bool value) 50 { this->bShowLives_ = value; } 51 inline bool getShowLives() const 52 { return this->bShowLives_; } 53 54 inline void setShowTeams(bool value) 55 { this->bShowTeams_ = value; } 56 inline bool getShowTeams() const 57 { return this->bShowTeams_; } 49 58 50 59 private: 51 PlayerInfo* owner_; 52 bool bNoCaption_; 53 60 LastTeamStanding* lts_; 61 PlayerInfo* player_; 62 bool bShowLives_; 63 bool bShowTeams_; 54 64 }; 55 65 } 56 #endif /* _ GametypeStatus_H__ */66 #endif /* _LastTeamStandingInfos_H__ */
Note: See TracChangeset
for help on using the changeset viewer.