- Timestamp:
- Jun 18, 2012, 9:54:49 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/modules/pickup/items/SpeedPickup.cc
r9279 r9305 84 84 void SpeedPickup::initializeIdentifier(void) 85 85 { 86 std::stringstream stream; 87 stream << this->getDuration(); 88 std::string type1 = "duration"; 89 std::string val1 = stream.str(); 90 this->pickupIdentifier_->addParameter(type1, val1); 91 92 stream.clear(); 93 stream << this->getSpeedAdd(); 94 std::string type2 = "speedAdd"; 95 std::string val2 = stream.str(); 96 this->pickupIdentifier_->addParameter(type2, val2); 97 98 stream.clear(); 99 stream << this->getSpeedMultiply(); 100 std::string type3 = "speedMultiply"; 101 std::string val3 = stream.str(); 102 this->pickupIdentifier_->addParameter(type3, val3); 86 this->pickupIdentifier_->addParameter("duration", this->getDuration()); 87 this->pickupIdentifier_->addParameter("speedAdd", this->getSpeedAdd()); 88 this->pickupIdentifier_->addParameter("speedMultiply", this->getSpeedMultiply()); 103 89 } 104 90
Note: See TracChangeset
for help on using the changeset viewer.