Method | Description | |
---|---|---|
Map ( int width, int height, int tileWidth, int tileHeight ) : System | ||
addObject ( MapObject obj ) : void | ||
blockTile ( int x, int y, BlockType type ) : void | ||
freeTile ( int x, int y, BlockType type ) : void | ||
getHeight ( ) : int | ||
getObjects ( ) : List |
||
getProperty ( string key ) : string | ||
getTileHeight ( ) : int | ||
getTileWidth ( ) : int | ||
getWalk ( int x, int y, byte walkmask ) : bool | ||
getWidth ( ) : int | ||
setProperty ( string key, string val ) : void |
Method | Description | |
---|---|---|
setSize ( int width, int height ) : void |
public Map ( int width, int height, int tileWidth, int tileHeight ) : System | ||
width | int | |
height | int | |
tileWidth | int | |
tileHeight | int | |
return | System |
public blockTile ( int x, int y, BlockType type ) : void | ||
x | int | |
y | int | |
type | BlockType | |
return | void |
public freeTile ( int x, int y, BlockType type ) : void | ||
x | int | |
y | int | |
type | BlockType | |
return | void |
public getWalk ( int x, int y, byte walkmask ) : bool | ||
x | int | |
y | int | |
walkmask | byte | |
return | bool |
public setProperty ( string key, string val ) : void | ||
key | string | |
val | string | |
return | void |