Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 12, 2014, 4:07:10 PM (11 years ago)
Author:
richtero
Message:

finished getWinner function which checks if somebody has won and started on the AI.

File:
1 edited

Legend:

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

    r10101 r10121  
    170170
    171171
    172     /**
    173     @brief
    174         Get the player.
    175     @return
    176         Returns a pointer to the player. If there is no player, NULL is returned.
    177     */
    178     //TODO: colors
    179     PlayerInfo* Mini4Dgame::getPlayer(int color) const
    180     {
    181         return players[color].info_;
    182         //for(int i=0;i<NUMBEROFPLAYERS;i++)
    183                 //if(color == this->mini4DgamePlayers[i].color)
    184                         //return this->mini4DgamePlayers[i].info;
    185     }
    186 
    187172}
Note: See TracChangeset for help on using the changeset viewer.