Changeset 1399 for code/trunk/src/orxonox/objects
- Timestamp:
- May 23, 2008, 10:27:52 PM (17 years ago)
- Location:
- code/trunk/src/orxonox/objects
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/Camera.h
r1293 r1399 50 50 void setTargetNode(Ogre::SceneNode* obj); 51 51 52 Ogre::Camera* cam_; 53 52 54 void tick(float dt); 53 55 void update(); … … 63 65 Ogre::SceneNode* cameraNode_; 64 66 Ogre::Vector3 oldPos; 65 Ogre::Camera* cam_;66 67 bool bHasFocus_; 67 68 }; -
code/trunk/src/orxonox/objects/SpaceShip.cc
r1362 r1399 69 69 return NULL; 70 70 } 71 71 72 72 SpaceShip::SpaceShip() : 73 73 //testvector_(0,0,0), … … 239 239 } 240 240 241 Camera* SpaceShip::getCamera(){ 242 return cam_; 243 } 244 241 245 void SpaceShip::createCamera(){ 242 246 // COUT(4) << "begin camera creation" << std::endl; … … 422 426 if (this->bLMousePressed_ && this->timeToReload_ <= 0) 423 427 { 424 428 425 429 Projectile *p = new Projectile(this); 426 430 427 431 p->setBacksync(true); 428 432 this->timeToReload_ = this->reloadTime_; -
code/trunk/src/orxonox/objects/SpaceShip.h
r1362 r1399 44 44 { 45 45 public: 46 46 47 47 static SpaceShip *getLocalShip(); 48 48 49 49 SpaceShip(); 50 50 ~SpaceShip(); … … 66 66 67 67 void getFocus(); 68 Camera* getCamera(); 68 69 static SpaceShip* instance_s; 69 70 static Vector3 getSPosition();
Note: See TracChangeset
for help on using the changeset viewer.