adds the animation timer to the cooldown
| GUI. | adds the animation timer to the cooldown |
| Variables | |
| m_IntervalID | |
| m_Increments | |
| m_MaskHeight | |
| m_MaskY | |
| m_Mask | |
| m_CooldownFlags | |
| m_CooldownTimer | |
| m_IsPrepared | |
| m_UseTimer | |
| m_TotalDuration | |
| m_StartTime | |
| m_EndTime | |
| m_SpellId | |
| SignalDone | |
| m_Icon | |
| Functions | |
| AbilityCooldown | Sets up a new Abilitycooldown, subsequent calls to this instance should be done trough the AddCooldown method |
| PrepareStage | prepares all values and sets all variables needed in the class-wide scope note this is only to be done ONCE in the lifetime of an instance of this class |
| UpdateTimer | Method that updates |
| ClearMask | |
| ApplyMask | |
| OverwriteCooldown | |
| EmitSignal | |
| RemoveCooldown | |
| GetCooldownFlags |
private var m_IntervalID: Number
private var m_Increments: Number
private var m_MaskHeight: Number
private var m_MaskY: Number
private var m_Mask: MovieClip
private var m_CooldownFlags: Number
private var m_CooldownTimer: MovieClip
private var m_IsPrepared: Boolean
private var m_UseTimer: Boolean
private var m_TotalDuration: Number
private var m_StartTime: Number
private var m_EndTime: Number
private var m_SpellId: Number
public var SignalDone: Signal
private var m_Icon: MovieClip
Sets up a new Abilitycooldown, subsequent calls to this instance should be done trough the AddCooldown method
public function AbilityCooldown( icon: MovieClip, cooldownStart: Number, cooldownEnd: Number, cooldownFlags: Number, spellId: Number )
prepares all values and sets all variables needed in the class-wide scope note this is only to be done ONCE in the lifetime of an instance of this class
private function PrepareStage( cooldownStart: Number, cooldownEnd: Number )
Method that updates
private function UpdateTimer() : Void
private function ClearMask()
private function ApplyMask()
public function OverwriteCooldown( cooldownStart: Number, cooldownEnd: Number, cooldownFlags: Number )
private function EmitSignal()
public function RemoveCooldown()
public function GetCooldownFlags() : Number