C# Class SmartboyDevelopments.Haxxit.MonoGame.ServerOverworldState

Inheritance: HaxxitGameState
Afficher le fichier Open project: smartboyathome/Haxxit Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Draw ( SpriteBatch sprite_batch ) : void
sprite_batch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

Init() public méthode

public Init ( ) : void
Résultat void

LoadContent() public méthode

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
Résultat void

SubscribeAll() public méthode

public SubscribeAll ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

WrapText() public méthode

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