Changeset 4490 in orxonox.OLD for orxonox/trunk/src/world_entities/environment.cc
- Timestamp:
- Jun 3, 2005, 1:33:01 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/environment.cc
r4094 r4490 26 26 27 27 28 28 /** 29 \brief creates an environment 30 */ 29 31 Environment::Environment () : WorldEntity() 30 32 { 31 this->model = (Model*) ResourceManager::getInstance()->load("cube", RP_LEVEL); 33 32 34 } 33 35 34 36 35 37 /** 38 \brief deletes an environment 39 */ 36 40 Environment::~Environment () 37 41 { … … 39 43 } 40 44 45 /** 46 \brief ticks the environment 47 \param time the time about which to tick 48 */ 41 49 void Environment::tick (float time) {} 42 50 51 /** 52 \brief if a hit occures 53 */ 43 54 void Environment::hit (WorldEntity* weapon, Vector* loc) {} 44 55 56 /** 57 \brief destroys an Environment 58 */ 45 59 void Environment::destroy () {} 46 60 61 /** 62 \brief a collision with some ship 63 */ 47 64 void Environment::collide (WorldEntity* other, Uint32 ownhitflags, Uint32 otherhitflags) {} 48 65 66 /** 67 \brief draws the Environment 68 */ 49 69 void Environment::draw () 50 70 {
Note: See TracChangeset
for help on using the changeset viewer.