Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/3DPacman_FS19/src/modules/pacman/PacmanPink.h @ 12319

Last change on this file since 12319 was 12319, checked in by peterf, 5 years ago

PacmanPink implementation, but lots of SIGSEGV

File size: 886 bytes
Line 
1#ifndef _PacmanPink_H__
2#define _PacmanPink_H__
3
4
5#include "PacmanGhost.h"
6//#include "getShortestPath.h"
7
8
9namespace 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        Vector3 pinkPos;
31
32        void nextMove(Vector3 pinkPosP, Vector3 playerPos, Vector3 pointToAvoidP11=Vector3(0,0,0));
33
34        };
35
36}
37
38#endif
Note: See TracBrowser for help on using the repository browser.