- Timestamp:
- Feb 1, 2015, 2:50:46 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/minigame4DHS14/src/modules/mini4dgame/Mini4DgameBoard.h
r10227 r10229 43 43 { 44 44 45 struct Mini4DgamePosition 46 { 47 Mini4DgamePosition(int x, int y, int z, int w) : x(x), y(y), z(z), w(w) {} 48 int x; 49 int y; 50 int z; 51 int w; 52 }; 53 45 54 struct Mini4DgameWinner 46 55 { … … 67 76 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 68 77 69 bool isValidMove(const Vector4move);78 bool isValidMove(const Mini4DgamePosition& move); 70 79 void undoMove(); 71 void makeMove(const Vector4move);80 void makeMove(const Mini4DgamePosition& move); 72 81 Mini4DgameWinner getWinner(); 73 82 … … 77 86 private: 78 87 //void registerVariables(); 79 std::vector< Vector4> moves;88 std::vector<Mini4DgamePosition> moves; 80 89 bool player_toggle_; 81 90 BlinkingBillboard* blinkingBillboards[4][4][4][4];
Note: See TracChangeset
for help on using the changeset viewer.