- Timestamp:
- Oct 29, 2014, 1:21:53 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/minigame4DHS14/src/modules/mini4Dgame/Mini4Dgame.h
r10097 r10100 39 39 namespace orxonox 40 40 { 41 42 41 /** 43 42 @brief … … 56 55 57 56 virtual void spawnPlayer(PlayerInfo* player); //!< Spawns the input player. 58 virtual bool playerLeft(PlayerInfo* player);59 57 60 58 void setCenterpoint(Mini4DgameCenterpoint* center) 61 59 { this->center_ = center; } 62 60 63 PlayerInfo* getLeftPlayer() const; //!< Get the left player. 64 PlayerInfo* get RightPlayer() const; //!< Get the right player.61 //TODO: enum colors 62 PlayerInfo* getPlayer(int color) const; //!< Get the player with the specified color. 65 63 66 64 … … 74 72 void cleanup(void); //!< Cleans up the Gametype by destroying the ball and the bats. 75 73 76 PlayerInfo* player_[2];//!< The two players74 PlayerInfo* players[3]; 77 75 78 76 WeakPtr<Mini4DgameCenterpoint> center_; //!< The playing field.
Note: See TracChangeset
for help on using the changeset viewer.