34 #ifndef _ReplenishingMunition_H__ 35 #define _ReplenishingMunition_H__ 60 {
return replenishAmount_; }
62 {
return replenishInterval_; }
70 void initializeTimer();
75 { this->replenishAmount_ = replenishAmount; }
77 { this->replenishInterval_ = replenishInterval; }
unsigned int replenishAmount_
The amount of magazines by which it is replenished.
Definition: ReplenishingMunition.h:66
Definition: Munition.h:48
unsigned int getReplenishAmount() const
Definition: ReplenishingMunition.h:59
void setReplenishInterval(float replenishInterval)
Definition: ReplenishingMunition.h:76
float getReplenishInterval() const
Definition: ReplenishingMunition.h:61
Timer replenishingTimer_
Timer to do the replenishing.
Definition: ReplenishingMunition.h:72
Munition that is replenished by a certain amount each time interval.
Definition: ReplenishingMunition.h:50
xmlelement
Definition: Super.h:519
Declaration of the Timer class, used to call functions after a given time-interval.
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
Mode
Definition: CorePrereqs.h:102
float replenishInterval_
The interval in which the munition is replenished.
Definition: ReplenishingMunition.h:65
#define _OrxonoxExport
Definition: OrxonoxPrereqs.h:60
Timer is a helper class that executes a function after a given amount of seconds in game-time...
Definition: Timer.h:105
void setReplenishAmount(unsigned int replenishAmount)
Definition: ReplenishingMunition.h:74