Packagecom.divillysausages.gameobjeditor
Classpublic class EditableVar
InheritanceEditableVar Inheritance Object

A helper class to hold the variable that we're affecting, the type of component we want to use to edit it, and the different parameters to fill for the type



Public Properties
 PropertyDefined By
  hasReadAccess : Boolean = true
Do we have read access to this variable? (so we can show the current value)
EditableVar
  params : Object = null
Any params that we want to use to customise our edit component
EditableVar
  type : String = null
The type of the component that we want to use for this variable.
EditableVar
  variable : String = null
The name of the variable on the Object that we want to edit
EditableVar
Public Methods
 MethodDefined By
  
debugTrace():void
A debug function that traces out the info for this Object
EditableVar
Property Detail
hasReadAccessproperty
public var hasReadAccess:Boolean = true

Do we have read access to this variable? (so we can show the current value)

The default value is true.

paramsproperty 
public var params:Object = null

Any params that we want to use to customise our edit component

typeproperty 
public var type:String = null

The type of the component that we want to use for this variable. Use the static consts from the EditableVar class.

variableproperty 
public var variable:String = null

The name of the variable on the Object that we want to edit

Method Detail
debugTrace()method
public function debugTrace():void

A debug function that traces out the info for this Object