Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/ai/src/ai/movement_module.h @ 10349

Last change on this file since 10349 was 10349, checked in by tfahrni, 17 years ago
File size: 896 bytes
Line 
1
2#ifndef _MOVEMENT_MODULE_H
3#define _MOVEMENT_MODULE_H
4
5#include "ai_module.h"
6#include "player.h"
7#include "playable.h"
8//#include "npcs/npc_test.h"
9class NPC2;
10
11
12class MovementModule : public AIModule{
13
14        public:
15                MovementModule();
16                MovementModule(WorldEntity* object);
17                virtual ~MovementModule(){}
18                virtual void process(float dt);
19
20                static void setDistanceToPlayer(float newValue);
21                static void setDistanceToNPC(float newValue);
22                static void setMaxAccleartion(float newValue);
23                static void setTestValue(float newValue);
24                static void setTestValue2(float newValue);
25
26        private:
27                Vector myMovement;
28                float myMaxAccleration;
29                float myMaxSpeed;
30
31                static float maxAccleration;
32                static float distanceToPlayer;
33                static float distanceToNPC;
34                static float testValue;
35                static float testValue2;
36
37                int tickCount;
38                int randomFreq;
39                Vector randomVector;
40};
41
42#endif /* _MOVEMENT_MODULE_H */
Note: See TracBrowser for help on using the repository browser.