Changeset 1994 in orxonox.OLD for orxonox/branches/dave/core/world.h
- Timestamp:
- Jun 21, 2004, 12:39:11 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/dave/core/world.h
r1883 r1994 6 6 7 7 #include <stdlib.h> 8 #include <cmath> 9 8 10 9 11 #include "npc.h" 10 12 #include "player.h" 11 13 #include "environment.h" 14 #include "shoot_laser.h" 15 #include "shoot_rocket.h" 12 16 #include "stdincl.h" 17 #include "data_tank.h" 13 18 14 19 class World { … … 17 22 World (); 18 23 ~World (); 24 25 float primitiveMove; 19 26 20 27 /* for easier use: map the first two player here */ … … 47 54 envList* lastEnv; 48 55 56 57 58 49 59 bool addPlayer(Player* player); 50 60 bool removePlayer(Player* player); 51 61 Player* getLocalPlayer(); 52 53 62 bool addNPC(NPC* npc); 54 63 bool removeNPC(NPC* npc); 55 56 64 bool addEnv(Environment* env); 57 65 58 void drawWorld( void);66 void drawWorld(float Zahl1, float Zahl2); 59 67 void initEnvironement(void); 68 void setWorldStep(float step); 60 69 void updateWorld(void); 70 void detectCollision(void); 61 71 void testThaTest(void); 62 72 63 73 private: 64 74 float surface[120][120]; 75 float step; 65 76 66 77
Note: See TracChangeset
for help on using the changeset viewer.