Changeset 10111 for code/branches/pickupsFS14/src/modules/jump/JumpScore.h
- Timestamp:
- Nov 5, 2014, 4:06:09 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickupsFS14/src/modules/jump/JumpScore.h
r10074 r10111 21 21 * 22 22 * Author: 23 * Fabi an 'x3n' Landau23 * Fabien Vultier 24 24 * Co-authors: 25 25 * ... 26 26 * 27 27 */ 28 29 /**30 @file JumpScore.h31 @brief Declaration of the JumpScore class.32 @ingroup Jump33 */34 28 35 29 #ifndef _JumpScore_H__ … … 44 38 namespace orxonox 45 39 { 46 47 /**48 @brief49 The JumpScore class displays the score for a game of @ref orxonox::Jump "Jump".50 51 @author52 Fabian 'x3n' Landau53 54 @ingroup Jump55 */56 40 class _JumpExport JumpScore : public OverlayText, public Tickable 57 41 { … … 60 44 virtual ~JumpScore(); 61 45 62 virtual void tick(float dt); //!< Creates and sets the caption to be displayed by the JumpScore.46 virtual void tick(float dt); 63 47 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 64 virtual void changedOwner(); //!< Is called when the owner changes.48 virtual void changedOwner(); 65 49 66 50 void setShowScore(const bool showScore) … … 83 67 84 68 private: 85 Jump* owner_; //!< The Jump game that owns this JumpScore.86 WeakPtr<PlayerInfo> player_; //!< Store information about left player permanently.69 Jump* owner_; 70 WeakPtr<PlayerInfo> player_; 87 71 WorldSound* scoreSound_; 88 72 bool showScore_; 89 73 bool showMessages_; 90 74 std::string gameOverText_; 91 92 75 }; 93 76 }
Note: See TracChangeset
for help on using the changeset viewer.