Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Presentation_FS19/src/modules/pacman/PacmanRandom.h

Last change on this file was 12408, checked in by wiesep, 5 years ago

Merged 3DPacman_FS19

File size: 827 bytes
Line 
1#ifndef _PacmanRandom_H__
2#define _PacmanRandom_H__
3
4#include "PacmanGhost.h"
5
6namespace orxonox {
7
8  class _OrxonoxExport PacmanRandom : public PacmanGhost{
9    //This class is not used anymore in the game, given that all 4 Ghosts now have
10    //their own behavior. But it could maybe still be useful.
11
12                public:
13                        PacmanRandom(Context* context);
14
15                        virtual void tick(float dt) override; //!< Defines which actions the AutonomousDrone has to take in each tick.
16
17                        virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;
18                        void setnewTarget(int firstdec);
19            void setnewTarget(int firstdec, int seconddec);
20            void setnewTarget(int firstdec, int seconddec, int thirddec);
21            void setnewTarget(int firstdec, int seconddec, int thirddec, int fourthdec);
22  };
23
24
25}
26
27
28#endif
Note: See TracBrowser for help on using the repository browser.