Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1994 in orxonox.OLD for orxonox/branches/dave/core/world.h


Ignore:
Timestamp:
Jun 21, 2004, 12:39:11 AM (20 years ago)
Author:
dave
Message:

orxonox/branches/dave:[test the Shit]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/dave/core/world.h

    r1883 r1994  
    66
    77#include <stdlib.h>
     8#include <cmath>
     9
    810
    911#include "npc.h"
    1012#include "player.h"
    1113#include "environment.h"
     14#include "shoot_laser.h"
     15#include "shoot_rocket.h"
    1216#include "stdincl.h"
     17#include "data_tank.h"
    1318
    1419class World {
     
    1722  World ();
    1823  ~World ();
     24
     25  float primitiveMove;
    1926
    2027  /* for easier use: map the first two player here */
     
    4754  envList* lastEnv;
    4855
     56
     57
     58
    4959  bool addPlayer(Player* player);
    5060  bool removePlayer(Player* player);
    5161  Player* getLocalPlayer();
    52 
    5362  bool addNPC(NPC* npc);
    5463  bool removeNPC(NPC* npc);
    55 
    5664  bool addEnv(Environment* env);
    5765
    58   void drawWorld(void);
     66  void drawWorld(float Zahl1, float Zahl2);
    5967  void initEnvironement(void);
     68  void setWorldStep(float step);
    6069  void updateWorld(void);
     70  void detectCollision(void);
    6171  void testThaTest(void);
    6272
    6373 private:
    6474  float surface[120][120];
     75  float step;
    6576
    6677
Note: See TracChangeset for help on using the changeset viewer.