C# Class AIsOfCatan.GUIPiece

Inheritance: TXADrawableComponent
Datei anzeigen Open project: rasmusgreve/catan Class Usage Examples

Public Methods

Method Description
GUIPiece ( Vector2 position, int player, Token token, int t1, int t2, int t3 ) : System

Protected Methods

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

Private Methods

Method Description
GetTex ( Token token ) : Microsoft.Xna.Framework.Graphics.Texture2D

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

GUIPiece() public method

public GUIPiece ( Vector2 position, int player, Token token, int t1, int t2, int t3 ) : System
position Vector2
player int
token Token
t1 int
t2 int
t3 int
return System