C# Class SmashBros.Views.TextBox

Inheritance: IView
Show file Open project: Grutn/TDT4240-X2 Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Draw ( SpriteBatch spriteBatch, GameTime gameTime ) : void
TextBox ( ) : System
TextBox ( string text, SpriteFont font, Vector2 pos, Color color, float scale = 1f ) : System
TextBox ( string text, SpriteFont font, float x, float y, Color color, float scale = 1f ) : System

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Draw() public method

public Draw ( SpriteBatch spriteBatch, GameTime gameTime ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
gameTime Microsoft.Xna.Framework.GameTime
return void

TextBox() public method

public TextBox ( ) : System
return System

TextBox() public method

public TextBox ( string text, SpriteFont font, Vector2 pos, Color color, float scale = 1f ) : System
text string
font Microsoft.Xna.Framework.Graphics.SpriteFont
pos Vector2
color Color
scale float
return System

TextBox() public method

public TextBox ( string text, SpriteFont font, float x, float y, Color color, float scale = 1f ) : System
text string
font Microsoft.Xna.Framework.Graphics.SpriteFont
x float
y float
color Color
scale float
return System