Changeset 1479 for code/branches/network/src/orxonox/objects/SpaceShip.h
- Timestamp:
- May 29, 2008, 10:36:49 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/orxonox/objects/SpaceShip.h
r1454 r1479 76 76 static void moveLateral(float value); 77 77 static void fire(); 78 void setMovePitch(float value); 79 void setMoveYaw(float value); 80 void setMoveRoll(float value); 81 void setMoveLongitudinal(float value); 82 void setMoveLateral(float value); 83 void doFire(); 78 84 79 85 float getMaxSpeed(); … … 82 88 Camera* getCamera(); 83 89 90 int getTeamNr() const 91 { return this->teamNr_; } 92 int getHealth() const 93 { return this->health_; } 94 84 95 bool getMyShip(){return myShip_;} 85 96 86 97 protected: 87 int teamNr_;88 int health_;98 void setTeamNr(int teamNr) 99 { this->teamNr_ = teamNr; } 89 100 90 101 private: 91 102 void createCamera(); 103 virtual ColourValue getProjectileColour() const 104 { return ColourValue(1.0, 1.0, 0.5); } 92 105 93 106 Vector3 testvector_; … … 143 156 bool myShip_; 144 157 158 int teamNr_; 159 int health_; 160 145 161 static SpaceShip* instance_s; 146 162 };
Note: See TracChangeset
for help on using the changeset viewer.