com.theoworlds.builder.settings.MapObjectSettings

This class and its inheritants is used to organize the map object parameters

Summary
com.theoworlds.builder.settings.MapObjectSettingsThis class and its inheritants is used to organize the map object parameters
Variables
IDid -- is set during World initialization
libIDlibary id, from which to load the symbol
libItemIDid of the library symbol that has to be loaded
libFramethe number of frames in the movieclip symbol.
tileXobject column
tileYobject row
elevationobject height -- this is the height used to stack other objects on top
stackableflag that tells if other objects can be placed on top of it
walkableflag that tells if characters can walk on top of this object
actionsObject -- actions .
Functions
MapObjectSettings
Properties
TYPE_FOR_MESSAGEhere is an example of parametter initialization.

Variables

ID

public var ID: Number

id -- is set during World initialization

libID

public var libID: Number

libary id, from which to load the symbol

libItemID

public var libItemID: Number

id of the library symbol that has to be loaded

libFrame

public var libFrame: Number

the number of frames in the movieclip symbol.  Handy to use when adding different directions.  Example: a trash can that has 8 different directions -- in this case we can use one symbol instead of 8 The Character ignores this parametter

tileX

public var tileX: Number

object column

tileY

public var tileY: Number

object row

elevation

public var elevation: Number

object height -- this is the height used to stack other objects on top

stackable

public var stackable: Boolean

flag that tells if other objects can be placed on top of it

walkable

public var walkable: Boolean

flag that tells if characters can walk on top of this object

actions

public var actions: Object

Object -- actions . Described in details in MapObject.actions

Functions

MapObjectSettings

function MapObjectSettings(type: Number)

Properties

TYPE_FOR_MESSAGE

public static function get TYPE_FOR_MESSAGE():Number

here is an example of parametter initialization.  When working with real servers we will find out what is exactly needed.

CharacterSettings class stores the settings of a Character object
FurnitureSettings class stores the settings of a Furniture object
TileSettings class stores the settings of a Floor tile object
public var ID: Number
id -- is set during World initialization
public var libID: Number
libary id, from which to load the symbol
public var libItemID: Number
id of the library symbol that has to be loaded
public var libFrame: Number
the number of frames in the movieclip symbol.
public var tileX: Number
object column
public var tileY: Number
object row
public var elevation: Number
object height -- this is the height used to stack other objects on top
public var stackable: Boolean
flag that tells if other objects can be placed on top of it
public var walkable: Boolean
flag that tells if characters can walk on top of this object
public var actions: Object
Object -- actions .
function MapObjectSettings(type: Number)
public static function get TYPE_FOR_MESSAGE():Number
here is an example of parametter initialization.
Close