36 #ifndef _ShrinkPickup_H__    37 #define _ShrinkPickup_H__    78             virtual void tick(
float dt);
    80             virtual void changedUsed(
void); 
    81             virtual void changedPickedUp(
void);
    88                 { 
return this->shrinkFactor_; }
    89             void setShrinkFactor(
float factor);
    96                 { 
return this->duration_; }
    97             void setDuration(
float duration);
   104                 { 
return this->shrinkDuration_; }
   105             void setShrinkDuration(
float speed);
   108             void initialize(
void);
   121             Pawn* carrierToPawnHelper(
void);
   123             void terminate(
void);
 float shrinkDuration_
Duration of shrinking. 
Definition: ShrinkPickup.h:112
 
Everything in Orxonox that has a health attribute is a Pawn. 
Definition: Pawn.h:56
 
#define _PickupExport
Definition: PickupPrereqs.h:60
 
float getShrinkFactor(void) const 
Get the shrinking factor. 
Definition: ShrinkPickup.h:87
 
Declaration of the Pickup class. 
 
Declaration of the Tickable interface. 
 
bool isShrinking_
True if ship is shrinking. 
Definition: ShrinkPickup.h:115
 
bool isTerminating_
True if ship is growing back to the original size. 
Definition: ShrinkPickup.h:116
 
bool isActive_
True if ship is shrinking, small, or growing back. 
Definition: ShrinkPickup.h:114
 
float shrinkFactor_
Shrink factor of the space ship. 
Definition: ShrinkPickup.h:111
 
float currentFactor_
The shrink factor that is currently applied. 
Definition: ShrinkPickup.h:118
 
xmlelement
Definition: Super.h:519
 
Timer durationTimer_
Definition: ShrinkPickup.h:122
 
Die Wagnis Klasse hat die folgenden Aufgaben: 
Definition: ApplicationPaths.cc:66
 
Mode
Definition: CorePrereqs.h:102
 
float duration_
Determines how long the pickup will be active. 
Definition: ShrinkPickup.h:110
 
The ShrinkPickup is a Pickupable that causes the pawn to shrink to a certain size for a certain time ...
Definition: ShrinkPickup.h:71
 
The Pickup class offers (useful) base functionality for a wide range of pickups. 
Definition: Pickup.h:92
 
float getDuration(void) const 
Get the duration for which the ship remains shrunken. 
Definition: ShrinkPickup.h:95
 
float getShrinkDuration(void) const 
Get the shrink speed. 
Definition: ShrinkPickup.h:103
 
Shared library macros, enums, constants and forward declarations for the questsystem module  ...
 
The Tickable interface provides a tick(dt) function, that gets called every frame. 
Definition: Tickable.h:52
 
Timer is a helper class that executes a function after a given amount of seconds in game-time...
Definition: Timer.h:105
 
float timeRemainig_
The remaining shrink time. 
Definition: ShrinkPickup.h:119