C# Class GrandLarceny.MapState

Inheritance: GrandLarceny.States
Exibir arquivo Open project: melburn/GLhf

Public Methods

Method Description
MapState ( GrandLarceny.States a_backState ) : System
draw ( GameTime a_gameTime, SpriteBatch a_spriteBatch ) : void
load ( ) : void
update ( GameTime a_gameTime ) : void
updatePointTexture ( GameTime a_gameTime ) : Microsoft.Xna.Framework.Graphics.Texture2D

Private Methods

Method Description
addRectangle ( Rectangle a_rectangle, int a_color, Color a_oldArray, int a_width ) : void
setCoordiantes ( ) : void
setMapTexture ( ) : void

Method Details

MapState() public method

public MapState ( GrandLarceny.States a_backState ) : System
a_backState GrandLarceny.States
return System

draw() public method

public draw ( GameTime a_gameTime, SpriteBatch a_spriteBatch ) : void
a_gameTime Microsoft.Xna.Framework.GameTime
a_spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

load() public method

public load ( ) : void
return void

update() public method

public update ( GameTime a_gameTime ) : void
a_gameTime Microsoft.Xna.Framework.GameTime
return void

updatePointTexture() public method

public updatePointTexture ( GameTime a_gameTime ) : Microsoft.Xna.Framework.Graphics.Texture2D
a_gameTime Microsoft.Xna.Framework.GameTime
return Microsoft.Xna.Framework.Graphics.Texture2D