- Timestamp:
- Mar 29, 2010, 4:39:25 PM (15 years ago)
- Location:
- code/branches/ppspickups1
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ppspickups1/data/levels/templates/pickup_representation_templates_speed.oxt
r6607 r6643 4 4 <StaticEntity> 5 5 <attached> 6 <Billboard position="0,0,0" colour=" 1.0,0.0,0.0" material="Sphere2" scale=0.1>6 <Billboard position="0,0,0" colour="0.50,0.90,0.25" material="Sphere2" scale=0.1> 7 7 <attached> 8 <Billboard position="0,0,0" colour=" 1.0,1.0,0.0" material="Cross" scale=0.7 />8 <Billboard position="0,0,0" colour="0.90,0.90,0.10" material="3arrowsup" scale=0.7 /> 9 9 </attached> 10 10 </Billboard> … … 18 18 <SpeedPickup 19 19 duration = 10.0 20 speedAdd = 020 speedAdd = 100 21 21 SpeedMultiply = 10 22 22 activationType = "immediate" -
code/branches/ppspickups1/src/modules/pickup/Pickup.cc
r6607 r6643 245 245 return false; 246 246 } 247 if (false) /* How to check if Timer already running?*/247 if (false) /* TODO: Check if Timer is already running */ 248 248 { 249 249 COUT(1) << "Pickup durationTimer already in use." << std::endl; -
code/branches/ppspickups1/src/modules/pickup/items/SpeedPickup.cc
r6607 r6643 251 251 252 252 void SpeedPickup::PickupTimerCallBack(void) { 253 COUT(2) << "Timer ended!" << std::endl;253 /* Reset values */ 254 254 } 255 255 } -
code/branches/ppspickups1/src/orxonox/interfaces/PickupCarrier.h
r6607 r6643 47 47 namespace orxonox 48 48 { 49 class Pickupable; 50 class Pickup; 51 class HealthPickup; 52 class MetaPickup; 53 class SpeedPickup; 49 54 50 55 /** -
code/branches/ppspickups1/src/orxonox/items/Engine.h
r6607 r6643 115 115 virtual const Vector3& getCarrierPosition(void); 116 116 117 /* not in protected ??*/117 /* Should not be here */ 118 118 inline void setSpeedAdd(float speedAdd) 119 119 { this->speedAdd_=speedAdd; } -
code/branches/ppspickups1/src/orxonox/items/MultiStateEngine.cc
r6417 r6643 129 129 else 130 130 this->state_ = Idle; 131 132 if (this->state_ = Idle && this->getSpeedAdd()>0) 133 this->state_ = Normal; 131 134 } 132 135
Note: See TracChangeset
for help on using the changeset viewer.