Package | verlocity.display.gui |
Class | public class PauseMenu |
Inheritance | PauseMenu UIElement flash.display.Sprite |
Property | Defined By | ||
---|---|---|---|
menuHeight : int = 200 [static] | PauseMenu | ||
menuWidth : int = 200 [static] | PauseMenu | ||
originX : Number | UIElement | ||
originY : Number | UIElement |
Method | Defined By | ||
---|---|---|---|
PauseMenu(iPosX:int, iPosY:int) | PauseMenu | ||
Clear():void
Clears all graphics drawn on the UI element. | UIElement | ||
Dispose():void [override] | PauseMenu | ||
DrawRect(uiColor:uint = 0xFFFFFF, nAlpha:Number = 1, iWidth:int = 0, iHeight:int = 0, bLine:Boolean = false, iLineThickness:int = 1, uiLineColor:uint = 0xFFFFFF, nLineAlpha:Number = 1, bRounded:Boolean = false, iRoundness:int = 10, iOffsetX:int = 0, iOffsetY:int = 1):void
Draws a rectangle onto the UI element. | UIElement | ||
GetScale():Number
Returns the scale of the UI element. | UIElement | ||
ResetPos():void
Resets the X and Y position of the UI element to its original spawn position. | UIElement | ||
SetOriginPos(nPosX:Number, nPosY:Number):void
Overrides origin position
| UIElement | ||
SetPos(nPosX:Number, nPosY:Number):void
Sets the X and Y position of the UI element. | UIElement | ||
SetScale(nSetScale:Number):void
Sets the scale of the UI element. | UIElement | ||
ToggleButtons(bEnable:Boolean):void | PauseMenu |
menuHeight | property |
public static var menuHeight:int = 200
menuWidth | property |
public static var menuWidth:int = 200
PauseMenu | () | Constructor |
public function PauseMenu(iPosX:int, iPosY:int)
iPosX:int | |
iPosY:int |
Dispose | () | method |
override public function Dispose():void
ToggleButtons | () | method |
public function ToggleButtons(bEnable:Boolean):void
Parameters
bEnable:Boolean |