프로퍼티 | 타입 | 설명 | |
---|---|---|---|
auto | uint | ||
tileGraphic | Microsoft.Xna.Framework.Graphics.Texture2D |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_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 |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | List |
public findPath ( |
||
Start | ||
End | ||
Simplify | bool | |
RaySimplify | bool | |
리턴 |
public follow ( FlxCamera Camera = null, int Border, System.Boolean UpdateWorld = false ) : void | ||
Camera | FlxCamera | |
Border | int | |
UpdateWorld | System.Boolean | |
리턴 | 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 | |
리턴 |
public overlaps ( FlxBasic objectOrGroup, System.Boolean inScreenSpace = false, FlxCamera camera = null ) : System.Boolean | ||
objectOrGroup | FlxBasic | |
inScreenSpace | System.Boolean | |
camera | FlxCamera | |
리턴 | System.Boolean |
public overlapsPoint ( |
||
point | ||
inScreenSpace | System.Boolean | |
camera | FlxCamera | |
리턴 | System.Boolean |
public overlapsWithCallback ( FlxObject Object, Func |
||
Object | FlxObject | |
Callback | Func |
|
FlipCallbackParams | System.Boolean | |
Position | ||
리턴 | System.Boolean |
public ray ( |
||
Start | ||
End | ||
Result | ||
Resolution | float | |
리턴 | bool |
public setTileProperties ( uint Tile, uint AllowCollisions = 0x1111, FlxObject>.Action |
||
Tile | uint | |
AllowCollisions | uint | |
Callback | FlxObject>.Action | |
Range | uint | |
리턴 | void |
protected walkPath ( List |
||
Data | List |
|
Start | int | |
Points | List |
|
리턴 | void |
protected Rectangle[],Microsoft.Xna.Framework _rects | ||
리턴 | Microsoft.Xna.Framework.Rectangle[] |
protected Texture2D,Microsoft.Xna.Framework.Graphics _tiles | ||
리턴 | Microsoft.Xna.Framework.Graphics.Texture2D |
public Texture2D,Microsoft.Xna.Framework.Graphics tileGraphic | ||
리턴 | Microsoft.Xna.Framework.Graphics.Texture2D |