Changeset 12192 for code/branches/OrxoKart_HS18/src/modules
- Timestamp:
- Feb 22, 2019, 4:46:06 PM (6 years ago)
- Location:
- code/branches/OrxoKart_HS18/src/modules/orxokart
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxoKart_HS18/src/modules/orxokart/CMakeLists.txt
r12147 r12192 7 7 ShroomHUD.cc 8 8 TimeHUD.cc 9 KartController.cc10 9 ) 11 10 -
code/branches/OrxoKart_HS18/src/modules/orxokart/OrxoKart.cc
r12168 r12192 59 59 { 60 60 SUPER(OrxoKart, tick, dt); 61 62 61 if(this->firstTick_ && this->origin_) 63 62 { … … 144 143 flag->init(n, s); 145 144 flag_ = flag; 146 147 145 148 149 146 150 147 151 148 } //firsttick end … … 184 181 flag_->setCollided(false); 185 182 wayPointCounter = 0; 183 184 185 186 186 } 187 187 188 if (player && player->isBoosting()) {189 //orxout() << "Boosting" << endl;190 if(!numberOfShrooms) numberOfShrooms--;191 }192 188 193 189 } -
code/branches/OrxoKart_HS18/src/modules/orxokart/OrxoKartFlag.cc
r12156 r12192 86 86 void OrxoKartFlag::init(int n, int s) 87 87 { 88 model_ = new Model(this->getContext());89 model_->setMeshSource("OrxoKartMushroom.mesh");90 model_->setScale3D(Vector3(s, s, s));91 model_->setPosition(Vector3(s*n*0.5f,-0.0f, s*n*0.5f));92 93 this->attach(model_);94 88 95 89 cs_ = new BoxCollisionShape(this->getContext()); -
code/branches/OrxoKart_HS18/src/modules/orxokart/OrxoKartKart.cc
r12168 r12192 33 33 #include "core/CoreIncludes.h" 34 34 #include "core/XMLPort.h" 35 #include "KartController.h"36 35 namespace orxonox 37 36 { 38 37 RegisterClass(OrxoKartKart); 39 38 40 void ControllableEntity::rotateYaw(const Vector2& value)41 {42 orxout() << "TEST CONTROLlER" << endl;43 }44 39 45 40 OrxoKartKart::OrxoKartKart(Context* context) : SpaceShip(context)
Note: See TracChangeset
for help on using the changeset viewer.