Class Index | File Index

Classes


Class R.components.Logic


Extends R.components.Base.
Logic components are sort of a catch-all of components. They aren't any one of the specific types, so they fall under the type of LOGIC. Logic components are in the middle of the importance scale, so they are processed after input and transformations, but before collision and rendering. This makes them ideal for additional processing, such as the R.components.HostComponent.
Defined in: logic.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
R.components.Logic(name, priority)
Creates a logic component.
Fields borrowed from class R.components.Base:
TYPE_COLLIDER, TYPE_INPUT, TYPE_LOGIC, TYPE_RENDERING, TYPE_TRANSFORM
Method Summary
Method Attributes Method Name and Description
 
Get the class name of this object
Methods borrowed from class R.components.Base:
execute, getGameObject, getHostObject, getPriority, getType, getTypeString, release, setGameObject, setHostObject, setPriority
Methods borrowed from class R.engine.BaseObject:
addEvent, addEvents, destroy, getElement, jQ, removeEvent, setElement, triggerEvent, update
Methods borrowed from class R.engine.PooledObject:
clearObjectDataModel, getId, getName, getObjectDataModel, getProperties, isDestroyed, setName, setObjectDataModel, toString, toXML
Class Detail
R.components.Logic(name, priority)
Creates a logic component.
Parameters:
name
{String} The name of the component
priority Optional, Default: 1.0
{Number} The priority of the component
Method Detail
{String} getClassName()
Get the class name of this object
Returns:
{String} "R.components.Logic"

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Mar 18 2013 16:09:16 GMT-0400 (EDT)