C# Class fliXNA_xbox.FlxText

Inheritance: FlxSprite
Datei anzeigen 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_oe property

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

_regen protected_oe property

protected Boolean,System _regen
return System.Boolean

_scale public_oe property

public float _scale
return float

_textField protected_oe property

protected String _textField
return String