Property | Type | Description | |
---|---|---|---|
auto | uint | ||
tileGraphic | Microsoft.Xna.Framework.Graphics.Texture2D |
Property | Type | Description | |
---|---|---|---|
_block | FlxObject | ||
_data | List |
||
_rects | Microsoft.Xna.Framework.Rectangle[] | ||
_startingIndex | uint | ||
_tileHeight | int | ||
_tileObjects | fliXNA_xbox.FlxTile[] | ||
_tileObjectsForDrawing | List |
||
_tileWidth | int | ||
_tiles | Microsoft.Xna.Framework.Graphics.Texture2D | ||
collideIndex | int | ||
tileSize | int |
Method | Description | |
---|---|---|
FlxTilemap ( ) : System | ||
draw ( ) : void | ||
findPath ( |
||
follow ( FlxCamera Camera = null, int Border, System.Boolean UpdateWorld = false ) : void | ||
getTile ( int X, int Y ) : int | ||
loadMap ( String CSVdataFile, Microsoft.Xna.Framework.Graphics.Texture2D Graphic, int TileWidth, int TileHeight, int DrawIndex, int CollideIndex = 1 ) : |
||
overlaps ( FlxBasic objectOrGroup, System.Boolean inScreenSpace = false, FlxCamera camera = null ) : System.Boolean | ||
overlapsPoint ( |
||
overlapsWithCallback ( FlxObject Object, Func |
||
ray ( |
||
setTileProperties ( uint Tile, uint AllowCollisions = 0x1111, FlxObject>.Action |
Method | Description | |
---|---|---|
computePathDistance ( int StartIndex, int EndIndex ) : List |
||
drawTilemap ( FlxCamera Camera ) : void | ||
raySimplifyPath ( List |
||
simplifyPath ( List |
||
updateTile ( int Index ) : void | ||
walkPath ( List |
protected computePathDistance ( int StartIndex, int EndIndex ) : List |
||
StartIndex | int | |
EndIndex | int | |
return | List |
protected drawTilemap ( FlxCamera Camera ) : void | ||
Camera | FlxCamera | |
return | void |
public findPath ( |
||
Start | ||
End | ||
Simplify | bool | |
RaySimplify | bool | |
return |
public follow ( FlxCamera Camera = null, int Border, System.Boolean UpdateWorld = false ) : void | ||
Camera | FlxCamera | |
Border | int | |
UpdateWorld | System.Boolean | |
return | void |
public loadMap ( String CSVdataFile, Microsoft.Xna.Framework.Graphics.Texture2D Graphic, int TileWidth, int TileHeight, int DrawIndex, int CollideIndex = 1 ) : |
||
CSVdataFile | String | |
Graphic | Microsoft.Xna.Framework.Graphics.Texture2D | |
TileWidth | int | |
TileHeight | int | |
DrawIndex | int | |
CollideIndex | int | |
return |
public overlaps ( FlxBasic objectOrGroup, System.Boolean inScreenSpace = false, FlxCamera camera = null ) : System.Boolean | ||
objectOrGroup | FlxBasic | |
inScreenSpace | System.Boolean | |
camera | FlxCamera | |
return | System.Boolean |
public overlapsPoint ( |
||
point | ||
inScreenSpace | System.Boolean | |
camera | FlxCamera | |
return | System.Boolean |
public overlapsWithCallback ( FlxObject Object, Func |
||
Object | FlxObject | |
Callback | Func |
|
FlipCallbackParams | System.Boolean | |
Position | ||
return | System.Boolean |
public ray ( |
||
Start | ||
End | ||
Result | ||
Resolution | float | |
return | bool |
protected raySimplifyPath ( List |
||
Points | List |
|
return | void |
public setTileProperties ( uint Tile, uint AllowCollisions = 0x1111, FlxObject>.Action |
||
Tile | uint | |
AllowCollisions | uint | |
Callback | FlxObject>.Action | |
Range | uint | |
return | void |
protected simplifyPath ( List |
||
Points | List |
|
return | void |
protected walkPath ( List |
||
Data | List |
|
Start | int | |
Points | List |
|
return | void |
protected Rectangle[],Microsoft.Xna.Framework _rects | ||
return | Microsoft.Xna.Framework.Rectangle[] |
protected FlxTile[],fliXNA_xbox _tileObjects | ||
return | fliXNA_xbox.FlxTile[] |
protected Texture2D,Microsoft.Xna.Framework.Graphics _tiles | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public Texture2D,Microsoft.Xna.Framework.Graphics tileGraphic | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |