- Timestamp:
- Nov 12, 2014, 4:07:10 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/minigame4DHS14/src/modules/mini4Dgame/Mini4Dgame.h
r10115 r10121 57 57 }; 58 58 59 59 struct Mini4DgameWinner 60 { 61 int winningRow[4]; 62 int winningColumn[4]; 63 int winningHeight[4]; 64 int winningNumber[4]; 65 mini4DgamePlayerColor::color color_; 66 }; 60 67 /** 61 68 @brief … … 78 85 { this->center_ = center; } 79 86 80 //TODO: enum colors 81 PlayerInfo* getPlayer(int color) const; //!< Get the player with the specified color. 82 83 84 //bool isValidMove(Vector4* move, const Mini4DgameBoard* board);//!< Checks if the move is valid 87 void win(Mini4DgameWinner winner); 85 88 86 89 protected: … … 91 94 void cleanup(void); //!< Cleans up the Gametype by destroying the ball and the bats. 92 95 93 Mini4DgamePlayer players[2];96 Mini4DgamePlayer players[2]; 94 97 95 98 WeakPtr<Mini4DgameCenterpoint> center_; //!< The playing field. 96 97 //TODO: Board is missing up to now98 99 }; 99 100 }
Note: See TracChangeset
for help on using the changeset viewer.