- Timestamp:
- Oct 21, 2008, 4:56:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/objects/infos/PlayerInfo.h
r1953 r1989 52 52 { return this->clientID_; } 53 53 54 inline void setHumanPlayer(bool bHumanPlayer)55 { this->bHumanPlayer_ = bHumanPlayer; }56 54 inline bool isHumanPlayer() const 57 55 { return this->bHumanPlayer_; } 56 57 inline bool isLocalPlayer() const 58 { return this->bLocalPlayer_; } 59 60 void startControl(ControllableEntity* pawn); 61 void stopControl(); 62 63 inline ControllableEntity* getPawn() const 64 { return this->pawn_; } 58 65 59 66 private: … … 62 69 void checkNick(); 63 70 void clientChangedName(); 71 void updatePawn(); 64 72 65 73 unsigned int clientID_; … … 71 79 std::string playerName_; 72 80 std::string nick_; 81 82 ControllableEntity* pawn_; 83 unsigned int pawnID_; 73 84 }; 74 85 }
Note: See TracChangeset
for help on using the changeset viewer.