Changeset 4382 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- May 29, 2005, 9:04:17 PM (20 years ago)
- Location:
- orxonox/trunk/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/player.h
r4261 r4382 8 8 9 9 #include "world_entity.h" 10 #include "physics_interface.h" 10 11 11 12 template<class T> class tList; … … 16 17 17 18 //! Basic controllable WorldEntity 18 class Player : public WorldEntity 19 class Player : public WorldEntity, public PhysicsInterface 19 20 { 20 21 friend class World; -
orxonox/trunk/src/world_entities/test_gun.cc
r4320 r4382 144 144 } 145 145 146 Projectile* pj = (TestBullet*)ObjectManager::getInstance()->getFromDeadList(CL_TEST_BULLET);146 Projectile* pj = dynamic_cast<TestBullet*>(ObjectManager::getInstance()->getFromDeadList(CL_TEST_BULLET)); 147 147 148 148 //printf( "object ref %p\n", ObjectManager::getInstance()->getFromDeadList(CL_TEST_BULLET));
Note: See TracChangeset
for help on using the changeset viewer.