- Timestamp:
- Dec 4, 2014, 5:16:20 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/minigame4DHS14/src/modules/mini4Dgame/Mini4Dgame.h
r10131 r10156 37 37 #include "gametypes/Deathmatch.h" 38 38 #include "mini4Dgame/Mini4DgamePrereqs.h" 39 #include "Mini4DgameCenterpoint.h"40 39 #include "Mini4DgameBoard.h" 41 40 … … 71 70 virtual void spawnPlayer(PlayerInfo* player); //!< Spawns the input player. 72 71 73 void set Centerpoint(Mini4DgameCenterpoint* center)74 { this-> center_ = center; }72 void setGameboard(Mini4DgameBoard* board) 73 { this->board_ = board; } 75 74 76 static void setStone(Vector4 move, const int playerColor, Mini4DgameBoard* board); 75 Mini4DgameBoard* getBoard(void) 76 { return this->board_; } 77 78 //static void setStone(Vector4 move, const int playerColor, Mini4DgameBoard* board); 79 static void setStone(int x,int y, int z, int w);//Vector4 move, const int playerColor); 77 80 78 81 void win(Mini4DgameWinner winner); … … 86 89 87 90 //Player players[2]; 88 89 WeakPtr<Mini4DgameCenterpoint> center_; //!< The centerpoint to which the objects are attached 90 WeakPtr<Mini4DgameBoard> board_; 91 Mini4DgameBoard* board_; 91 92 }; 92 93 }
Note: See TracChangeset
for help on using the changeset viewer.