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