C# Class SmartboyDevelopments.Haxxit.MonoGame.GameStates.TutorialState

Inheritance: HaxxitGameState
Show file Open project: smartboyathome/Haxxit Class Usage Examples

Public Methods

Method Description
Draw ( SpriteBatch sprite_batch ) : void
Init ( ) : void
LoadContent ( GraphicsDevice graphics, SpriteBatch sprite_batch, Microsoft.Xna.Framework.Content.ContentManager content ) : void
SubscribeAll ( ) : void
TutorialState ( MapDisplayGameState display_map_state ) : System
Update ( ) : void
WrapText ( SpriteFont spriteFont, string text, float maxLineWidth ) : string

Method Details

Draw() public method

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

Init() public method

public Init ( ) : void
return void

LoadContent() public method

public LoadContent ( GraphicsDevice graphics, SpriteBatch sprite_batch, Microsoft.Xna.Framework.Content.ContentManager content ) : void
graphics GraphicsDevice
sprite_batch Microsoft.Xna.Framework.Graphics.SpriteBatch
content Microsoft.Xna.Framework.Content.ContentManager
return void

SubscribeAll() public method

public SubscribeAll ( ) : void
return void

TutorialState() public method

public TutorialState ( MapDisplayGameState display_map_state ) : System
display_map_state MapDisplayGameState
return System

Update() public method

public Update ( ) : void
return void

WrapText() public method

public WrapText ( SpriteFont spriteFont, string text, float maxLineWidth ) : string
spriteFont Microsoft.Xna.Framework.Graphics.SpriteFont
text string
maxLineWidth float
return string