Changeset 11071 for code/trunk/src/modules/mini4dgame/Mini4DgameAI.h
- Timestamp:
- Jan 17, 2016, 10:29:21 PM (8 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/modules/mini4dgame/Mini4DgameAI.h
r10230 r11071 39 39 #include <list> 40 40 41 #include "tools/interfaces/Tickable.h"42 43 41 #include "controllers/Controller.h" 44 42 #include "Mini4DgameCenterpoint.h" … … 55 53 Oliver Richter 56 54 */ 57 class _Mini4DgameExport Mini4DgameAI : public Controller , public Tickable55 class _Mini4DgameExport Mini4DgameAI : public Controller 58 56 { 59 57 public: … … 73 71 Vector4 makeMove(float timeout); 74 72 75 76 virtual void tick(float dt);77 78 73 void setCenterpoint(Mini4DgameCenterpoint* center) 79 74 { this->center_ = center; } … … 81 76 protected: 82 77 83 std::list<std::pair<Timer*, char> 78 std::list<std::pair<Timer*, char>> reactionTimers_; //!< A list of reaction timers and the directions that take effect when their timer expires. 84 79 Mini4DgameCenterpoint* center_; 85 80 … … 88 83 std::list<Vector4> getPossibleMoves(); 89 84 void copyBoard(); 90 mini4DgamePlayerColor::color board_[4][4][4][4];85 Mini4DgamePlayerColor board_[4][4][4][4]; 91 86 }; 92 87 }
Note: See TracChangeset
for help on using the changeset viewer.