Last change
on this file since 12325 was
12319,
checked in by peterf, 6 years ago
|
PacmanPink implementation, but lots of SIGSEGV
|
File size:
548 bytes
|
Line | |
---|
1 | #ifndef _PacmanRed_H__ |
---|
2 | #define _PacmanRed_H__ |
---|
3 | |
---|
4 | |
---|
5 | #include "PacmanGhost.h" |
---|
6 | //#include "getShortestPath.h" |
---|
7 | |
---|
8 | |
---|
9 | namespace orxonox { |
---|
10 | |
---|
11 | class _OrxonoxExport PacmanRed : public PacmanGhost{ |
---|
12 | |
---|
13 | public : |
---|
14 | PacmanRed(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 playerPos, Vector3 redPos); |
---|
21 | |
---|
22 | void mainBehaviourRed(); |
---|
23 | |
---|
24 | bool isNearPlayer; |
---|
25 | |
---|
26 | |
---|
27 | |
---|
28 | }; |
---|
29 | |
---|
30 | } |
---|
31 | |
---|
32 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.