Last change
on this file since 12380 was
12357,
checked in by peterf, 6 years ago
|
Improved formatting and added some comments to make the code more precise
|
File size:
517 bytes
|
Line | |
---|
1 | #ifndef _PacmanRed_H__ |
---|
2 | #define _PacmanRed_H__ |
---|
3 | |
---|
4 | |
---|
5 | #include "PacmanGhost.h" |
---|
6 | |
---|
7 | |
---|
8 | namespace orxonox { |
---|
9 | |
---|
10 | class _OrxonoxExport PacmanRed : public PacmanGhost{ |
---|
11 | |
---|
12 | public : |
---|
13 | PacmanRed(Context* context); |
---|
14 | |
---|
15 | virtual void tick(float dt) override; //!< Defines which actions the AutonomousDrone has to take in each tick. |
---|
16 | |
---|
17 | virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override; |
---|
18 | |
---|
19 | void nextMove(Vector3 playerPos, Vector3 redPos); |
---|
20 | |
---|
21 | void mainBehaviourRed(); |
---|
22 | |
---|
23 | bool isNearPlayer; |
---|
24 | |
---|
25 | |
---|
26 | |
---|
27 | }; |
---|
28 | |
---|
29 | } |
---|
30 | |
---|
31 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.