GUI.HUD.ActiveAbilitySlot |
| GUI. | |
| Variables | |
| s_HighestSlotDepth | |
| m_State | |
| m_SlotSize | |
| m_Ability | |
| m_Reflection | |
| m_QueueAnimation | |
| m_IsChanneling | |
| m_CanUse | |
| Functions | |
| ActiveAbilitySlot | |
| OnMouseUp | |
| SetCanUse | |
| AddEffects | |
| RemoveEffects | |
| SwapEffect | |
| SwapBackTimerEffect | |
| CleanupAfterAnimation | |
| SwapBackEffect | |
| VerticalFlipBackEffect | |
| VerticalFlipEffect | |
| Fire | |
| AddToQueue | add animation here. |
| RemoveFromQueue | |
| Use | |
| UpdateAbilityFlags | |
| StartChanneling | |
| StopChanneling | |
| AddCooldown | adds a cooldown to the ability by attaching tha cooldown animation to the slot and passing it to the timer the ability cooldown uses the AbilityCooldown and the Timer to create a “refill” effect and a countdown timer |
| RemoveCooldown | remnoves a cooldown unconditionally |
| SetVisible | |
| RemoveIcon | when an ability is removed from the slot, the ability is cleared from the AbilitySlot |
| GetTooltipData | |
| SlotItemDroppedOnDesktop | |
| IsChanneling |
public function AddCooldown( cooldownStart: Number, cooldownEnd: Number, cooldownType: Number ) : Void
adds a cooldown to the ability by attaching tha cooldown animation to the slot and passing it to the timer the ability cooldown uses the AbilityCooldown and the Timer to create a “refill” effect and a countdown timer
public static var s_HighestSlotDepth: Number
private var m_State: Number
private var m_SlotSize: Number
private var m_Ability: ActiveAbility
private var m_Reflection: ActiveAbility
private var m_QueueAnimation: MovieClip
private var m_IsChanneling: Boolean
private var m_CanUse: Boolean
public function ActiveAbilitySlot( p_mc: MovieClip, p_id: Number )
private function OnMouseUp() : Void
function SetCanUse( canUse: Boolean )
private function AddEffects( iconPath: String )
private function RemoveEffects():Void
public function SwapEffect( duration: Number ):Void
public function SwapBackTimerEffect( swapBackTime: Number ):Void
private function CleanupAfterAnimation()
private function SwapBackEffect( duration: Number ):Void
private function VerticalFlipBackEffect( duration: Number, position: Number, height: Number, scale: Number, clip: MovieClip ):Void
private function VerticalFlipEffect( duration: Number, position: Number, height: Number, scale: Number, clip: MovieClip ):Void
public function Fire() : Void
add animation here.
public function AddToQueue()
public function RemoveFromQueue()
public function Use() : Void
public function UpdateAbilityFlags( enabled: Boolean, flag: Number )
public function StartChanneling() : Void
public function StopChanneling() : Void
adds a cooldown to the ability by attaching tha cooldown animation to the slot and passing it to the timer the ability cooldown uses the AbilityCooldown and the Timer to create a “refill” effect and a countdown timer
public function AddCooldown( cooldownStart: Number, cooldownEnd: Number, cooldownType: Number ) : Void
remnoves a cooldown unconditionally
public function RemoveCooldown()
public function SetVisible( val: Boolean ):Void
when an ability is removed from the slot, the ability is cleared from the AbilitySlot
private function RemoveIcon() : Void
function GetTooltipData():TooltipData
public function SlotItemDroppedOnDesktop()
public function IsChanneling():Boolean