Package | com.divillysausages.gameobjeditor.component |
Class | public class CheckboxComponent |
Inheritance | CheckboxComponent ![]() ![]() |
Method | Defined By | ||
---|---|---|---|
CheckboxComponent(obj:*, variable:EditableVar, parent:DisplayObjectContainer = null, x:Number = 0.0, y:Number = 0.0)
Creates a new CheckboxComponent
| CheckboxComponent | ||
destroy():void [override]
Destroys the CheckboxComponent and clears it for garbage collection
| CheckboxComponent | ||
update():void [override]
Updates the CheckboxComponent to always match our object's variable
| CheckboxComponent |
CheckboxComponent | () | Constructor |
public function CheckboxComponent(obj:*, variable:EditableVar, parent:DisplayObjectContainer = null, x:Number = 0.0, y:Number = 0.0)
Creates a new CheckboxComponent
Parametersobj:* — The object that we're dealing with
| |
variable:EditableVar — The EditableVar object that holds our variable info
| |
parent:DisplayObjectContainer (default = null ) — The DisplayObjectContainer to add this component to
| |
x:Number (default = 0.0 ) — The component x position
| |
y:Number (default = 0.0 ) — The component y position
|
destroy | () | method |
override public function destroy():void
Destroys the CheckboxComponent and clears it for garbage collection
update | () | method |
override public function update():void
Updates the CheckboxComponent to always match our object's variable