コンストラクタ
マップチップサイズ.幅
マップチップサイズ.高さ
親Group
The Entity background color. Must be provided in the same format as the CSS 'color' property.
The Entity debug color. Must be provided in the same format as the CSS 'color' property.
Image with which the tile set is displayed on the map.
The transparency of this entity. Defines the transparency level from 0 to 1 (0 is completely transparent, 1 is completely opaque).
The point of origin used for rotation and scaling.
The point of origin used for rotation and scaling.
Entity rotation angle (degree).
Scaling factor on the x axis of this Entity.
Scaling factor on the y axis of this Entity.
Map tile height.
Map tile width.
Indicates whether or not this Entity can be touched.
Indicates whether or not to display this Entity.
x coordinates of the Node.
y coordinates of the Node.
ファイル名プロパティ
ファイル名
マップ情報の読み込み
マップ情報(2次元配列)
複数のマップ情報の読み込み
前景マップ情報(2次元配列)
背景マップ情報(2次元配列)
Add a new event listener which will be executed when the event is dispatched.
Type of the events.
Event listener to be added.
Checks what tile is present at the given position.
x coordinates of the point on the map.
y coordinates of the point on the map.
The tile data for the given position.
Clear all defined event listeners of a given type. If no type is given, all listeners will be removed.
Type of the events.
Issue an event.
Event to be issued.
Judges whether or not obstacles are on top of Map.
x coordinates of detection spot on map.
y coordinates of detection spot on map.
True, if there are obstacles.
Performs a collision detection based on whether or not the bounding rectangles are intersecting.
An object like Entity, with the properties x, y, width, height, which are used for the collision detection.
True, if a collision was detected.
Set map data. Sets the tile data, whereas the data (two-dimensional array with indizes starting from 0) is mapped on the image starting from the upper left corner. When more than one map data array is set, they are displayed in reverse order.
Two-dimensional array of tile indizes. Multiple designations possible.
Move the Node relative to its current position.
x axis movement distance.
y axis movement distance.
Move the Node to the given target location.
Target x coordinates.
Target y coordinates.
Synonym for addEventListener.
Delete an event listener.
Event listener to be deleted.
Rotate this Entity.
Rotation angle (degree).
Enlarges or shrinks this Entity.
Scaling factor on the x axis.
Performs a collision detection based on distance from the Entity's central point.
An object like Entity, with properties x, y, width, height, which are used for the collision detection.
True, if a collision was detected.
Generated using TypeDoc
拡張マップUI
拡張マップUIクラス
FrameWork
enchant.extendMap.ExMap