Changeset 5603 in orxonox.OLD for branches/world_entities/src/world_entities/weapons/bomb.cc
- Timestamp:
- Nov 16, 2005, 3:19:47 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/world_entities/src/world_entities/weapons/bomb.cc
r5590 r5603 15 15 16 16 #include "bomb.h" 17 #include "glincl.h" 18 #include "model.h" 19 #include "fast_factory.h" 17 20 18 21 using namespace std; 19 22 23 CREATE_FAST_FACTORY_STATIC(Bomb, CL_BOMB); 20 24 21 25 /** … … 46 50 void Bomb::init() 47 51 { 48 this->setClassID(CL_ PROTO_WORLD_ENTITY, "Bomb");52 this->setClassID(CL_BOMB, "Bomb"); 49 53 50 54 /** … … 63 67 { 64 68 // all the clases this Entity is directly derived from must be called in this way, to load all settings. 65 static_cast<WorldEntity*>(this)->loadParam (root);69 static_cast<WorldEntity*>(this)->loadParams(root); 66 70 67 71 … … 76 80 * @param time the Time to step 77 81 */ 78 Bomb::tick(float time)82 void Bomb::tick(float time) 79 83 { 80 84 … … 112 116 113 117 } 118 119 void Bomb::activate() 120 { 121 122 } 123 124 void Bomb::deactivate() 125 { 126 127 }
Note: See TracChangeset
for help on using the changeset viewer.