Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/3DPacman_FS19/src/modules/pacman/PacmanCyan.h @ 12389

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

Improved formatting and added some comments to make the code more precise

File size: 647 bytes
RevLine 
[12320]1#ifndef _PacmanCyan_H__
2#define _PacmanCyan_H__
3
4#include "PacmanGhost.h"
5
6namespace orxonox {
7
8        class _OrxonoxExport PacmanCyan : public PacmanGhost{
9
10                public :
11                        PacmanCyan(Context* context);
12
[12357]13                          virtual void tick(float dt) override; //!< Defines which actions the AutonomousDrone has to take in each tick.
[12320]14
15                        virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;
16
17                        void nextMove( Vector3 cyanPosP, Vector3 playerPos);
18
[12321]19                        bool isPatrolling;
[12320]20
[12321]21                        void nextPatrol();
[12320]22
[12321]23                        Vector3 startPatrol;
24                        Vector3 goalPatrol;
25
26                        struct PatrolPosition;
27
[12322]28                        bool passedByStart;
29                        bool passedByGoal;
[12321]30
[12320]31        };
32
33}
34
35#endif
Note: See TracBrowser for help on using the repository browser.