Changeset 3655 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- Mar 26, 2005, 3:28:39 PM (20 years ago)
- Location:
- orxonox/trunk/src/world_entities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/player.cc
r3654 r3655 22 22 #include "track_manager.h" 23 23 #include "objModel.h" 24 #include "resource_manager.h" 24 25 #include "weapon.h" 25 26 #include "test_gun.h" … … 44 45 the player.cc for debug also 45 46 */ 46 this->model = new OBJModel("../data/models/reaplow.obj");47 this->model = (Model*) ResourceManager::load("../data/models/reaplow.obj", OBJ); 47 48 travelSpeed = 15.0; 48 49 velocity = new Vector(); -
orxonox/trunk/src/world_entities/player.h
r3620 r3655 10 10 11 11 template<class T> class tList; 12 class OBJModel;13 12 class Weapon; 14 13 class Vector; -
orxonox/trunk/src/world_entities/world_entity.h
r3608 r3655 12 12 //class CollisionCluster; 13 13 class CharacterAttributes; 14 class OBJModel;14 class Model; 15 15 16 16 … … 48 48 49 49 protected: 50 OBJModel* model; //!< The model that should be loaded for this entity.50 Model* model; //!< The model that should be loaded for this entity. 51 51 CharacterAttributes* charAttr; //!< the character attributes of a world_entity 52 52
Note: See TracChangeset
for help on using the changeset viewer.