Last change
on this file since 4597 was
4490,
checked in by bensch, 19 years ago
|
orxonox/trunk: started documentation of world-entities….
this is not really usefull, because i think, that this will change a lot with development….
|
File size:
725 bytes
|
Rev | Line | |
---|
[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 | */ |
---|
[2816] | 16 | class Environment : public WorldEntity |
---|
| 17 | { |
---|
| 18 | friend class World; |
---|
| 19 | |
---|
[1883] | 20 | public: |
---|
| 21 | Environment (); |
---|
[3544] | 22 | virtual ~Environment (); |
---|
[1883] | 23 | |
---|
[2816] | 24 | |
---|
| 25 | virtual void tick (float time); |
---|
[3578] | 26 | virtual void hit (WorldEntity* weapon, Vector* loc); |
---|
[2816] | 27 | virtual void destroy (); |
---|
| 28 | virtual void collide (WorldEntity* other, Uint32 ownhitflags, Uint32 otherhitflags); |
---|
| 29 | virtual void draw (); |
---|
[1883] | 30 | |
---|
| 31 | }; |
---|
| 32 | |
---|
[3224] | 33 | #endif /* _ENVIRONEMENT_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.