Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 10135 was 10135, checked in by tfahrni, 17 years ago
File size: 1.3 KB
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(NPC2* 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//
24        private:
25//      void collectInformation(float dt);
26//
27//
28//      static std::vector<Vector>      hidingPoint;
29//      static std::vector<float>       hidingPointSize;
30//
31//      static std::vector<NPC2*> npcList;
32//      static std::vector<Vector> npcPosition;
33//      static std::vector<float> npcRadius;
34//      static std::vector<int> npcSwarm;
35//      static std::vector<int> npcTeam;
36//
37//      static Vector playerPosition;
38//      static Vector playerMovement;
39//      static float playerRadius;
40//
41//      static std::vector<Vector> swarmCenter;
42//      static std::vector<int> swarmMemberCount;
43
44                Vector myMovement;
45                float myMaxAccleration;
46                float myMaxSpeed;
47
48
49                float getRadius(WorldEntity* object);
50//      static float aa;
51//      float oldDT;
52//
53//      static float maxAccleration;
54//      static float distanceToPlayer;
55//      static float distanceToNPC;
56};
57
58#endif /* _MOVEMENT_MODULE_H */
Note: See TracBrowser for help on using the repository browser.