C# Class AIA.Sprite

Basic Sprite class - contains all of the data relevant to displaying a sprite on screen
Show file Open project: ArtificialIntelligenceApproximations/AIA

Public Methods

Method Description
Draw ( SpriteBatch p_SpriteBatch ) : void
Sprite ( ) : System
Sprite ( Vector2 p_Pos, Microsoft.Xna.Framework.Graphics.Texture2D p_Tex ) : System
Update ( GameTime p_GameTime ) : void

Method Details

Draw() public method

public Draw ( SpriteBatch p_SpriteBatch ) : void
p_SpriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

Sprite() public method

public Sprite ( ) : System
return System

Sprite() public method

public Sprite ( Vector2 p_Pos, Microsoft.Xna.Framework.Graphics.Texture2D p_Tex ) : System
p_Pos Vector2
p_Tex Microsoft.Xna.Framework.Graphics.Texture2D
return System

Update() public method

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