Last change
on this file since 12323 was
12322,
checked in by peterf, 5 years ago
|
continued brown and cyan pacman. Pink pacman still causes SIGSEV
|
File size:
680 bytes
|
Rev | Line | |
---|
[12320] | 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 | |
---|
[12321] | 22 | bool isPatrolling; |
---|
[12320] | 23 | |
---|
[12321] | 24 | void nextPatrol(); |
---|
[12320] | 25 | |
---|
[12321] | 26 | Vector3 startPatrol; |
---|
| 27 | Vector3 goalPatrol; |
---|
| 28 | |
---|
| 29 | struct PatrolPosition; |
---|
| 30 | |
---|
[12322] | 31 | bool passedByStart; |
---|
| 32 | bool passedByGoal; |
---|
[12321] | 33 | |
---|
| 34 | |
---|
[12322] | 35 | |
---|
[12320] | 36 | }; |
---|
| 37 | |
---|
| 38 | } |
---|
| 39 | |
---|
| 40 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.