Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 29, 2014, 1:21:53 PM (10 years ago)
Author:
richtero
Message:

CMakeList added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/minigame4DHS14/src/modules/mini4Dgame/Mini4Dgame.h

    r10097 r10100  
    3939namespace orxonox
    4040{
    41 
    4241    /**
    4342    @brief
     
    5655
    5756            virtual void spawnPlayer(PlayerInfo* player); //!< Spawns the input player.
    58             virtual bool playerLeft(PlayerInfo* player);
    5957
    6058            void setCenterpoint(Mini4DgameCenterpoint* center)
    6159                { this->center_ = center; }
    6260
    63             PlayerInfo* getLeftPlayer() const; //!< Get the left player.
    64             PlayerInfo* getRightPlayer() const; //!< Get the right player.
     61//TODO: enum colors
     62            PlayerInfo* getPlayer(int color) const; //!< Get the player with the specified color.
    6563
    6664
     
    7472            void cleanup(void); //!< Cleans up the Gametype by destroying the ball and the bats.
    7573
    76             PlayerInfo* player_[2];//!< The two players
     74          PlayerInfo* players[3];
    7775
    7876            WeakPtr<Mini4DgameCenterpoint> center_; //!< The playing field.
Note: See TracChangeset for help on using the changeset viewer.