Changeset 2362 for code/branches/objecthierarchy2/src/orxonox/objects/worldentities/pawns/Spectator.cc
- Timestamp:
- Dec 9, 2008, 2:16:49 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy2/src/orxonox/objects/worldentities/pawns/Spectator.cc
r2254 r2362 31 31 32 32 #include "core/CoreIncludes.h" 33 #include "core/ConfigValueIncludes.h" 33 34 #include "core/Core.h" 34 35 #include "objects/worldentities/Model.h" … … 49 50 RegisterObject(Spectator); 50 51 51 this->speed_ = 100;52 this->speed_ = 200; 52 53 this->rotationSpeed_ = 3; 53 54 … … 68 69 this->bGreeting_ = false; 69 70 71 this->setConfigValues(); 70 72 this->registerVariables(); 71 73 } … … 84 86 } 85 87 88 void Spectator::setConfigValues() 89 { 90 SetConfigValue(speed_, 200.0f); 91 SetConfigValue(rotationSpeed_, 3.0f); 92 } 93 86 94 void Spectator::registerVariables() 87 95 { … … 137 145 { 138 146 ControllableEntity::startLocalHumanControl(); 139 // if (this->hasLocalController())140 // this->testmesh_->setVisible(false);141 147 } 142 148
Note: See TracChangeset
for help on using the changeset viewer.