equal
deleted
inserted
replaced
6 #define AI_CONTROLLER_HPP |
6 #define AI_CONTROLLER_HPP |
7 |
7 |
8 #include "../../stdafx.h" |
8 #include "../../stdafx.h" |
9 |
9 |
10 class AIController { |
10 class AIController { |
11 public: |
11 private: |
12 uint tick; |
12 uint tick; |
13 |
13 |
|
14 public: |
14 AIController() : |
15 AIController() : |
15 tick(0) |
16 tick(0) |
16 {} |
17 {} |
17 |
18 |
18 virtual ~AIController() { } |
19 virtual ~AIController() { } |
24 |
25 |
25 /** |
26 /** |
26 * Increase the internal ticker. |
27 * Increase the internal ticker. |
27 */ |
28 */ |
28 void IncreaseTick() { this->tick++; } |
29 void IncreaseTick() { this->tick++; } |
|
30 |
|
31 /** |
|
32 * Return the value of the ticker. |
|
33 */ |
|
34 uint GetTick() { return this->tick; } |
29 }; |
35 }; |
30 |
36 |
31 #endif /* AI_CONTROLLER_HPP */ |
37 #endif /* AI_CONTROLLER_HPP */ |