- Timestamp:
- Nov 12, 2014, 4:07:10 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/minigame4DHS14/src/modules/mini4Dgame/Mini4DgameCenterpoint.h
r10115 r10121 41 41 #include "worldentities/StaticEntity.h" 42 42 #include "mini4Dgame/Mini4DgamePrereqs.h" 43 #include "mini4Dgame/Mini4Dgame.h" 43 44 44 45 namespace orxonox … … 109 110 @param the position where to put the stone plus the player who makes the move 110 111 */ 111 bool isValidMove(const Vector4 move ,const int playerColor);112 bool isValidMove(const Vector4 move); 112 113 113 114 /** … … 115 116 @param the position where to put the stone plus the player who makes the move 116 117 */ 117 void makeMove(const Vector4 move, const int player);118 void makeMove(const Vector4 move, const mini4DgamePlayerColor::color playerColor); 118 119 119 120 /** 120 @brief searches the boardif somebody has won121 @return the winner if somebody has won or mini4DgamePlayerColor::none if nobody has won so far 122 123 mini4DgamePlayerColor::color Mini4DgameCenterpoint::getWinner()121 @brief checks if somebody has won 122 @return the winner with the winning fields or a winner with winner.color_ == mini4DgamePlayerColor::none if nobody has won so far. 123 */ 124 Mini4DgameWinner Mini4DgameCenterpoint::getWinner(); 124 125 125 126 private:
Note: See TracChangeset
for help on using the changeset viewer.