Changeset 1852 for code/branches/orxonox_tutorial/src/orxonox
- Timestamp:
- Sep 28, 2008, 5:15:55 PM (16 years ago)
- Location:
- code/branches/orxonox_tutorial/src/orxonox/objects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/orxonox_tutorial/src/orxonox/objects/TutorialShip.cc
r1847 r1852 54 54 } 55 55 56 bool TutorialShip::create() 57 { 58 return true; 59 } 60 56 61 TutorialShip::~TutorialShip() 57 62 { 58 63 } 59 60 64 61 void SpaceShip::setConfigValues()65 void TutorialShip::setConfigValues() 62 66 { 63 67 //SetConfigValue(bInvertYAxis_, false).description("Set this to true for joystick-like mouse behaviour (mouse up = ship down)."); … … 66 70 } 67 71 72 void TutorialShip::registerAllVariables() 73 { 74 } 68 75 69 76 /** … … 73 80 @return The XML-element 74 81 */ 75 void SpaceShip::XMLPort(Element& xmlelement, XMLPort::Mode mode)82 void TutorialShip::XMLPort(Element& xmlelement, XMLPort::Mode mode) 76 83 { 77 84 SUPER(TutorialShip, XMLPort, xmlelement, mode); … … 81 88 82 89 83 void SpaceShip::tick(float dt)90 void TutorialShip::tick(float dt) 84 91 { 85 92 SUPER(TutorialShip, tick, dt); 86 93 } 87 94 95 void TutorialShip::fire() 96 { 97 } 88 98 } -
code/branches/orxonox_tutorial/src/orxonox/objects/TutorialShip.h
r1847 r1852 29 29 #ifndef _TutorialShip_H__ 30 30 #define _TutorialShip_H__ 31 32 #include "OrxonoxPrereqs.h" 33 34 #include <OgrePrerequisites.h> 31 35 #include <string> 32 #include "OrxonoxPrereqs.h"33 #include <OgrePrerequisites.h>34 35 36 #include "util/Math.h" 36 37 #include "Camera.h" … … 38 39 #include "RadarViewable.h" 39 40 #include "tools/BillboardSet.h" 41 #include "SpaceShip.h" 40 42 41 43 namespace orxonox … … 47 49 ~TutorialShip(); 48 50 49 private:50 51 bool create(); 51 52 void registerAllVariables(); … … 56 57 // Methods for console commands 57 58 static void fire(); 59 60 private: 58 61 }; 59 62 }
Note: See TracChangeset
for help on using the changeset viewer.