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