Changeset 7541 for code/trunk/src/modules/pickup/items/InvisiblePickup.h
- Timestamp:
- Oct 14, 2010, 12:55:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/pickup/items/InvisiblePickup.h
r7493 r7541 50 50 A pickup that makes the Pawn invisible. 51 51 There are 2 parameters that can be chosen: 52 - The @b activation @b type It can be chosen to be either 'immediate' or 'onUse'. The activation type essentially (as indicated by the name) defines when the Pawn will be invisible, either immediately after being picked up or only after the player uses it. 53 - The @b duration @b type It can be chosen how long the Pawn will be invisibel. 52 - The <b>activation type</b> It can be chosen to be either <em>immediate</em> or <em>onUse</em>. The activation type essentially (as indicated by the name) defines when the Pawn will be invisible, either immediately after being picked up or only after the player uses it. 53 - The <b>duration type</b> It can be chosen to be either <em>once</em> or <em>continuous</em>. For <em>once</em> the InvisiblePickup just makes the Pawn invisible for as long as it is used, for <em>continuous</em> the Pawn is invisible for the specified duration. 54 - The <b>duration</b> Specifies how long (in seconds) the invisibility lasts. 55 54 56 @author 55 57 Benedict Simlinger 58 59 @ingroup PickupItems 56 60 */ 57 61 class _PickupExport InvisiblePickup : public Pickup
Note: See TracChangeset
for help on using the changeset viewer.