- Timestamp:
- 05/30/04 04:18:49 (21 years ago)
- Location:
- ps/trunk/source/simulation
- Files:
-
- 2 edited
-
BaseEntity.cpp (modified) (1 diff)
-
BaseEntity.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/source/simulation/BaseEntity.cpp
r325 r326 15 15 // automatically use namespace .. 16 16 XERCES_CPP_NAMESPACE_USE 17 18 CBaseEntity::CBaseEntity( const CBaseEntity& copy ) 19 { 20 m_actorObject = copy.m_actorObject; 21 22 m_name = copy.m_name; 23 m_bound_type = copy.m_bound_type; 24 m_speed = copy.m_speed; 25 m_turningRadius = copy.m_turningRadius; 26 27 m_bound_circle = NULL; 28 m_bound_box = NULL; 29 if( copy.m_bound_circle ) 30 m_bound_circle = new CBoundingCircle( 0.0f, 0.0f, copy.m_bound_circle ); 31 if( copy.m_bound_box ) 32 m_bound_box = new CBoundingBox( 0.0f, 0.0f, 0.0f, copy.m_bound_box ); 33 } 17 34 18 35 CBaseEntity::~CBaseEntity() -
ps/trunk/source/simulation/BaseEntity.h
r325 r326 29 29 public: 30 30 CBaseEntity() { m_bound_circle = NULL; m_bound_box = NULL; } 31 CBaseEntity( const CBaseEntity& copy ); 31 32 ~CBaseEntity(); 32 33 // Load from XML
Note:
See TracChangeset
for help on using the changeset viewer.
