Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/levelloader/src/world_entities/environment.h @ 3542

Last change on this file since 3542 was 3542, checked in by chris, 21 years ago

orxonox/branches/levelloader: First incarnation of a debugworld loaded from a XML-File in place, compilability in place, all necessary basic loading constuctors in place. Unfortunately the code still generates interferences with the old hardcoded debugworld resulting in SegFault crash.

File size: 573 bytes
Line 
1#ifndef _ENVIRONEMENT_H
2#define _ENVIRONEMENT_H
3
4#include "world_entity.h"
5
6
7class Environment : public WorldEntity
8{
9  friend class World;
10
11 private:
12  float xCor;
13  float yCor;
14  float zCor;
15
16  float mountainTest[10][10];
17
18 public:
19  Environment ();
20  Environment (TiXmlElement* root);
21  ~Environment ();
22
23 
24  virtual void tick (float time);
25  virtual void hit (WorldEntity* weapon, Vector loc);
26  virtual void destroy ();
27  virtual void collide (WorldEntity* other,  Uint32 ownhitflags, Uint32 otherhitflags);
28  virtual void draw ();
29
30};
31
32#endif /* _ENVIRONEMENT_H */
Note: See TracBrowser for help on using the repository browser.