C# Class fliXNA_xbox.FlxText

Inheritance: FlxSprite
Show file Open project: jlorek/flxSharp Class Usage Examples

Public Properties

Property Type Description
_scale float

Protected Properties

Property Type Description
_font Microsoft.Xna.Framework.Graphics.SpriteFont
_regen System.Boolean
_textField String

Public Methods

Method Description
FlxText ( float X, float Y, float Width, String Text = null, SpriteFont Font = null ) : System
destroy ( ) : void
draw ( ) : void
setFormat ( Color Color, float Scale = 1.0f, SpriteFont Font = null ) : FlxText
update ( ) : void

Method Details

FlxText() public method

public FlxText ( float X, float Y, float Width, String Text = null, SpriteFont Font = null ) : System
X float
Y float
Width float
Text String
Font Microsoft.Xna.Framework.Graphics.SpriteFont
return System

destroy() public method

public destroy ( ) : void
return void

draw() public method

public draw ( ) : void
return void

setFormat() public method

public setFormat ( Color Color, float Scale = 1.0f, SpriteFont Font = null ) : FlxText
Color Color
Scale float
Font Microsoft.Xna.Framework.Graphics.SpriteFont
return FlxText

update() public method

public update ( ) : void
return void

Property Details

_font protected property

protected SpriteFont,Microsoft.Xna.Framework.Graphics _font
return Microsoft.Xna.Framework.Graphics.SpriteFont

_regen protected property

protected Boolean,System _regen
return System.Boolean

_scale public property

public float _scale
return float

_textField protected property

protected String _textField
return String