tween

From Teverse


Properties

license [readonly]

Type: string

className [readonly]

Type: string

name

Type: string

Inherited from baseClass:

name

Type: string
A none unique identifier

className [readonly]

Type: string
The name of the object's class

Methods

begin

nil tween:begin()

create

nil tween:create()

Inherited from baseClass:

getDescendants

table tween:getDescendants()
Returns a table of all descended objects

isContainer

boolean tween:isContainer()

isA

boolean tween:isA(string className)
Returns true if this object is derived from the className given.

destroy

nil tween:destroy()
Locks the object before removing it from the hierarchy. Children will also be destroyed.

getFullName

string tween:getFullName()
Returns a string including ancestor names

constructor

nil tween:constructor()

destroyAllChildren

nil tween:destroyAllChildren()
Invokes the destroy method on each child of this instance.

hasChild

boolean tween:hasChild(string name)
Returns true if this object has a child with the name given

isDescendantOf

boolean tween:isDescendantOf(baseClass ancestor)
Returns true if this object is a descendant of the ancestor object given

describe

nil tween:describe()

clone

variant tween:clone()
Creates and returns a copy of this object

Events

Inherited from baseClass:

changed

eventListener tween:changed(function(string propertyName, variant newValuevariant))
Fired when a property changes

childAdded

eventListener tween:childAdded(function(baseClass child))
Fired when a child is added

childRemoved

eventListener tween:childRemoved(function(baseClass child))
Fired when a child is removed

destroying

eventListener tween:destroying(function())
Fired just before an object is destroyed.

Sub classes

Category derivedFromtween not found