Changeset 12168 for code/branches/OrxoKart_HS18/src/modules
- Timestamp:
- Dec 7, 2018, 4:40:29 PM (6 years ago)
- Location:
- code/branches/OrxoKart_HS18/src/modules/orxokart
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxoKart_HS18/src/modules/orxokart/KartController.h
r12147 r12168 34 34 35 35 #include "OrxoKartPrereqs.h" 36 37 36 #include "controllers/HumanController.h" 38 37 -
code/branches/OrxoKart_HS18/src/modules/orxokart/OrxoKart.cc
r12156 r12168 163 163 } 164 164 else { 165 orxout() << " Should not happen, look in OrxoKart.cc";165 //orxout() << " Should not happen, look in OrxoKart.cc"; 166 166 } 167 167 168 168 169 169 170 orxout() << numberOfShrooms << endl;170 //orxout() << numberOfShrooms << endl; 171 171 172 172 173 173 // Check if ship collided with the flag, flag is the bottom that is responsible for the game to detect the spaceship falling. 174 174 if(flag_->getCollided()){ 175 orxout() << numberOfShrooms << endl;175 //orxout() << numberOfShrooms << endl; 176 176 player = flag_->getObjectofCollision(); 177 177 if (level == 1) … … 187 187 188 188 if (player && player->isBoosting()) { 189 orxout() << "Boosting" << endl;189 //orxout() << "Boosting" << endl; 190 190 if(!numberOfShrooms) numberOfShrooms--; 191 191 } -
code/branches/OrxoKart_HS18/src/modules/orxokart/OrxoKartKart.cc
r12147 r12168 33 33 #include "core/CoreIncludes.h" 34 34 #include "core/XMLPort.h" 35 #include <BulletCollision/NarrowPhaseCollision/btManifoldPoint.h> 36 #include "controllers/HumanController.h" 37 35 #include "KartController.h" 38 36 namespace orxonox 39 37 { 40 38 RegisterClass(OrxoKartKart); 41 39 40 void ControllableEntity::rotateYaw(const Vector2& value) 41 { 42 orxout() << "TEST CONTROLlER" << endl; 43 } 44 42 45 OrxoKartKart::OrxoKartKart(Context* context) : SpaceShip(context) 43 46 { 44 45 47 RegisterObject(OrxoKartKart); 46 enableCollisionCallback();47 48 } 48 49 … … 66 67 void OrxoKartKart::rotateYaw(const Vector2& value) 67 68 { 69 68 70 this->localAngularAcceleration_.setY(this->localAngularAcceleration_.y() - value.x); 69 71 }
Note: See TracChangeset
for help on using the changeset viewer.