Line | |
---|
1 | #ifndef _PacmanPink_H__ |
---|
2 | #define _PacmanPink_H__ |
---|
3 | |
---|
4 | |
---|
5 | #include "PacmanGhost.h" |
---|
6 | //#include "getShortestPath.h" |
---|
7 | |
---|
8 | |
---|
9 | namespace orxonox { |
---|
10 | |
---|
11 | class _OrxonoxExport PacmanPink : public PacmanGhost{ |
---|
12 | |
---|
13 | public : |
---|
14 | PacmanPink(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 setNewTargetPink(Vector3 goalToGo); |
---|
21 | |
---|
22 | void nextMove(Vector3 playerPos, Vector3 redPos); |
---|
23 | |
---|
24 | int findPlayerTravDir (Vector3 playerPosBefore, Vector3 playerPos); |
---|
25 | |
---|
26 | Vector3 getPointInFrontOfPacman(Vector3 pacLasVisPos,int indexForSWNE); |
---|
27 | |
---|
28 | Vector3 diffVector (Vector3 start, Vector3 goal); |
---|
29 | |
---|
30 | }; |
---|
31 | |
---|
32 | } |
---|
33 | |
---|
34 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.