Changeset 6684 for code/branches/ppspickups2/src/modules/pickup
- Timestamp:
- Apr 12, 2010, 1:55:31 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ppspickups2/src/modules/pickup/items/InvisiblePickup.cc
r6641 r6684 45 45 namespace orxonox 46 46 { 47 48 47 49 48 CreateFactory(InvisiblePickup); 50 49 … … 87 86 this->addTarget(ClassIdentifier<Pawn>::getIdentifier()); 88 87 } 89 90 91 92 88 93 89 /** … … 102 98 this->initializeIdentifier(); 103 99 } 104 105 100 106 101 /** … … 118 113 if (this->isUsed()) 119 114 { 115 this->startPickupTimer(this->getDuration()); 120 116 this->setInvisible(true); 121 this->startPickupTimer(this->getDuration());122 117 } 123 118 else … … 162 157 } 163 158 164 165 166 167 168 159 /** 169 160 @brief … … 179 170 return 0; 180 171 } 181 182 183 172 184 173 /** … … 201 190 } 202 191 203 204 205 void InvisiblePickup::PickupTimerCallBack(void){ 192 void InvisiblePickup::PickupTimerCallBack(void) 193 { 206 194 this->setInvisible(false); 207 195 }
Note: See TracChangeset
for help on using the changeset viewer.