Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/environment.h @ 6941

Last change on this file since 6941 was 6512, checked in by bensch, 19 years ago

orxonox/trunk: loadParams is now virtual.
ALL THE CLASSES HAVE TO CALL

SuperClass::loadParams(root);

isntead of:
static_cast<SuperClass*>(this)→loadParams(root);

which was quite stupid anyways

File size: 640 bytes
RevLine 
[4490]1/*!
2  \file environment.h
3  \brief This file handles the environment of the game
4*/
5
[3224]6#ifndef _ENVIRONEMENT_H
7#define _ENVIRONEMENT_H
[1883]8
[2036]9#include "world_entity.h"
[1883]10
[4490]11//! environment of orxonox
12/**
13   everything that does not interact with the player comes here
14   Environment is a container for all the worldEntities that are non-interactive
15*/
[5047]16class Environment : public WorldEntity
[2816]17{
18  friend class World;
19
[1883]20 public:
21  Environment ();
[5361]22  Environment (const TiXmlElement* root);
[3544]23  virtual ~Environment ();
[1883]24
[5361]25  void init();
[6512]26  virtual void loadParams(const TiXmlElement* root);
[5047]27
[5361]28
29
[2816]30  virtual void tick (float time);
[5047]31
[1883]32};
33
[3224]34#endif /* _ENVIRONEMENT_H */
Note: See TracBrowser for help on using the repository browser.