C# Class WarTornLands.World.Layers.TileLayer

Inheritance: Layer
显示文件 Open project: floAr/WarTornLands Class Usage Examples

Public Methods

Method Description
Draw ( GameTime gameTime ) : void
IsPositionAccessible ( Vector2 position ) : bool
IsRectAccessible ( Rectangle rect ) : bool
SetTileSetBox ( TileSetBox box ) : void
TileLayer ( int grid, Area area ) : Microsoft.Xna.Framework
Update ( GameTime gameTime ) : void

Method Details

Draw() public method

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

IsPositionAccessible() public method

public IsPositionAccessible ( Vector2 position ) : bool
position Microsoft.Xna.Framework.Vector2
return bool

IsRectAccessible() public method

public IsRectAccessible ( Rectangle rect ) : bool
rect Microsoft.Xna.Framework.Rectangle
return bool

SetTileSetBox() public method

public SetTileSetBox ( TileSetBox box ) : void
box TileSetBox
return void

TileLayer() public method

public TileLayer ( int grid, Area area ) : Microsoft.Xna.Framework
grid int
area Area
return Microsoft.Xna.Framework

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void