23 #include "object/task/task.h" 28 const float RADIUS_SHIELD_MIN = 40.0f;
29 const float RADIUS_SHIELD_MAX = 100.0f;
60 bool EventProcess(
const Event &event)
override;
62 Error Start(TaskShieldMode mode,
float delay);
63 Error IsEnded()
override;
64 bool IsBusy()
override;
65 bool Abort()
override;
67 float GetActiveRadius();
72 void IncreaseShield();
77 TaskShieldPhase m_phase = TS_UP1;
78 float m_progress = 0.0f;
82 float m_lastParticle = 0.0f;
83 float m_lastRay = 0.0f;
84 float m_lastIncrease = 0.0f;
85 float m_energyUsed = 0.0f;
86 bool m_bError =
false;
89 int m_soundChannel = 0;
90 int m_effectLight = 0;
Definition: old_object.h:79
Definition: taskshield.h:54
Definition: shielder.h:32
Vector struct and related functions.
3D (3x1) vector
Definition: vector.h:53
Event sent by system, interface or game.
Definition: event.h:735