Class: Base

graphics.tmx. Base


new Base( [init])

A tmx base object definition.

A tmx base object definition.

Parameters:
Name Type Argument Description
init Object <optional>

A generic object containing properties with which to populate the newly instance. If this argument is null, it is ignored.

Implements:

Extends

Methods


clone()

Returns a shallow copy of the object.

Returns:

a shallow copy of the object.


setTo(init)

Sets the members of the object to the specified values.

Parameters:
Name Type Description
init Object

The generic object to initialize the object.

Inherited From:
Returns:

The current object reference.


toObject()

Returns the Object representation of this object.

Returns:

the Object representation of this object.


toString()

Returns the string representation of this object.

Returns:

the string representation of this object.