Changeset 10769 for code/branches/cpp11_v2/src/modules/pong
- Timestamp:
- Nov 7, 2015, 10:23:42 AM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/modules/pong
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/modules/pong/PongAI.cc
r10768 r10769 77 77 PongAI::~PongAI() 78 78 { 79 for (std::list<std::pair<Timer*, char> 79 for (std::list<std::pair<Timer*, char>>::iterator it = this->reactionTimers_.begin(); it != this->reactionTimers_.end(); ++it) 80 80 it->first->destroy(); 81 81 } -
code/branches/cpp11_v2/src/modules/pong/PongAI.h
r9667 r10769 89 89 float strength_; //!< The strength of the AI. Ranging from 0 to 1. 90 90 91 std::list<std::pair<Timer*, char> 91 std::list<std::pair<Timer*, char>> reactionTimers_; //!< A list of reaction timers and the directions that take effect when their timer expires. 92 92 char movement_; //!< The planned movement. 93 93 char oldMove_; //!< The previous movement.
Note: See TracChangeset
for help on using the changeset viewer.