C# Class AIsOfCatan.GUITile

Inheritance: TXADrawableComponent
Exibir arquivo Open project: rasmusgreve/catan Class Usage Examples

Private Properties

Property Type Description
GetTexture Microsoft.Xna.Framework.Graphics.Texture2D
IsTileNumbered bool
NumAreaAndTextPos void
TileShift float

Public Methods

Method Description
GUITile ( int x, int y, Tile tile, bool omit ) : System
TileHeight ( ) : int
TileWidth ( ) : int

Protected Methods

Method Description
DoUpdate ( GameTime time ) : void
Draw ( SpriteBatch batch ) : void

Private Methods

Method Description
GetTexture ( Terrain ter ) : Microsoft.Xna.Framework.Graphics.Texture2D
IsTileNumbered ( Tile tile ) : bool
NumAreaAndTextPos ( ) : void
TileShift ( ) : float

Method Details

DoUpdate() protected method

protected DoUpdate ( GameTime time ) : void
time Microsoft.Xna.Framework.GameTime
return void

Draw() protected method

protected Draw ( SpriteBatch batch ) : void
batch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

GUITile() public method

public GUITile ( int x, int y, Tile tile, bool omit ) : System
x int
y int
tile AIsOfCatan.API.Tile
omit bool
return System

TileHeight() public static method

public static TileHeight ( ) : int
return int

TileWidth() public static method

public static TileWidth ( ) : int
return int