Changeset 9705 in orxonox.OLD for branches/new_class_id/src/world_entities/camera.cc
- Timestamp:
- Aug 25, 2006, 9:44:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/world_entities/camera.cc
r9406 r9705 19 19 #include "glincl.h" 20 20 21 NewObjectListDefinition(Camera); 22 21 23 /** 22 24 * creates a Camera … … 24 26 Camera::Camera() 25 27 { 26 this-> setClassID(CL_CAMERA, "Camera");28 this->registerObject(this, Camera::_objectList); 27 29 this->setName("camera"); 28 30 this->target = new CameraTarget(); … … 221 223 /////////////////// 222 224 223 225 NewObjectListDefinition(CameraTarget); 224 226 CameraTarget::CameraTarget() 225 227 { 226 this-> setClassID(CL_CAMERA_TARGET, "CameraTarget");228 this->registerObject(this, CameraTarget::_objectList); 227 229 // this->setParentMode(PNODE_MOVEMENT); 228 230 }
Note: See TracChangeset
for help on using the changeset viewer.