Changeset 8108 for code/trunk/src/modules/pickup
- Timestamp:
- Mar 23, 2011, 9:57:54 PM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/tetris (added) merged: 8104-8107
- Property svn:mergeinfo changed
-
code/trunk/src/modules/pickup/Pickup.h
r7547 r8108 81 81 The Pickup class offers (useful) base functionality for a wide range of pickups. 82 82 83 Pickups in geriting from this class can choose an activation type and a duration type.83 Pickups inheriting from this class can choose an activation type and a duration type. 84 84 - The <b>activationType</b> deals with what happens to the Pickup as soon as it is picked up. It can either be set to <em>immediate</em>, which means that the Pickup is activated/used immediately upon being picked up. Or to <em>onUse</em>, which means, that the Pickup will be activated/used if some outside entity (most commonly the player through the PickupInventory) decides to use it. Default is <em>immediate</em>. 85 85 - The <b>durationType</b> deals with whether the Pickup has a continuous effect or whether its effect is focused on a singular instant. It can either be set to <em>once</em>, which means, that the Pickup just has an effect (at a singular instant in time) and is done once that effect has been applied. Or to <em>continuous</em>, which means that the effect of the Pickup unfolds over some timespan. Default is <em>once</em>.
Note: See TracChangeset
for help on using the changeset viewer.