C# Class SmartboyDevelopments.Haxxit.MonoGame.ServerOverworldState

Inheritance: HaxxitGameState
Datei anzeigen 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
Update ( ) : void
WrapText ( SpriteFont spriteFont, string text, float maxLineWidth ) : string

Private Methods

Method Description
CreateBG ( GraphicsDevice graphics, int width, int height, string request ) : Microsoft.Xna.Framework.Graphics.Texture2D

Creates a pretty cool gradient texture! Used for a background Texture!

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

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