29 #ifndef _HUDShieldBar_H__ 30 #define _HUDShieldBar_H__ 51 virtual void tick(
float dt)
override;
52 virtual void changedOwner()
override;
55 { this->owner_ = owner; }
Everything in Orxonox that has a health attribute is a Pawn.
Definition: Pawn.h:56
Declaration of the Tickable interface.
void setShieldBarOwner(Pawn *owner)
Definition: HUDShieldBar.h:54
#define _OverlaysExport
Definition: OverlaysPrereqs.h:60
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
Shared library macros, enums, constants and forward declarations for the overlays module ...
Pawn * owner_
Definition: HUDShieldBar.h:57
The Tickable interface provides a tick(dt) function, that gets called every frame.
Definition: Tickable.h:52
The HUDShieldBar displays the the status of the shield of its owner (a Pawn).
Definition: HUDShieldBar.h:45