Packagecitrus.core
Interfacepublic interface IState
Implementors Away3DState, StarlingState, State

Take a look on the 2 respective states to have some information on the functions.



Public Properties
 PropertyDefined By
  view : ACitrusView
[read-only]
IState
Public Methods
 MethodDefined By
  
IState
  
IState
  
destroy():void
IState
  
IState
  
IState
  
getObjectsByType(type:Class):Vector.<CitrusObject>
IState
  
initialize():void
IState
  
remove(object:CitrusObject):void
IState
  
IState
  
update(timeDelta:Number):void
IState
Property Detail
viewproperty
view:ACitrusView  [read-only]


Implementation
    public function get view():ACitrusView
Method Detail
add()method
public function add(object:CitrusObject):CitrusObject

Parameters

object:CitrusObject

Returns
CitrusObject
addEntity()method 
public function addEntity(entity:Entity):Entity

Parameters

entity:Entity

Returns
Entity
destroy()method 
public function destroy():void

getFirstObjectByType()method 
public function getFirstObjectByType(type:Class):CitrusObject

Parameters

type:Class

Returns
CitrusObject
getObjectByName()method 
public function getObjectByName(name:String):CitrusObject

Parameters

name:String

Returns
CitrusObject
getObjectsByType()method 
public function getObjectsByType(type:Class):Vector.<CitrusObject>

Parameters

type:Class

Returns
Vector.<CitrusObject>
initialize()method 
public function initialize():void

remove()method 
public function remove(object:CitrusObject):void

Parameters

object:CitrusObject

removeImmediately()method 
public function removeImmediately(object:CitrusObject):void

Parameters

object:CitrusObject

update()method 
public function update(timeDelta:Number):void

Parameters

timeDelta:Number