C# Class GameEngine.Drawing.Text.PlainText

Inheritance: TextDrawable
Mostra file Open project: MichaelAquilina/Some-2D-RPG Class Usage Examples

Public Methods

Method Description
Construct ( SpriteFont spriteFont, string text ) : void
GetHeight ( double elapsedMS ) : int
GetSpriteFont ( double elapsedMS ) : SpriteFont
GetText ( double elapsedMS ) : string
GetWidth ( double elapsedMS ) : int
PlainText ( ) : System
PlainText ( SpriteFont spriteFont, string text ) : System
ToString ( ) : string

Method Details

Construct() public method

public Construct ( SpriteFont spriteFont, string text ) : void
spriteFont Microsoft.Xna.Framework.Graphics.SpriteFont
text string
return void

GetHeight() public method

public GetHeight ( double elapsedMS ) : int
elapsedMS double
return int

GetSpriteFont() public method

public GetSpriteFont ( double elapsedMS ) : SpriteFont
elapsedMS double
return Microsoft.Xna.Framework.Graphics.SpriteFont

GetText() public method

public GetText ( double elapsedMS ) : string
elapsedMS double
return string

GetWidth() public method

public GetWidth ( double elapsedMS ) : int
elapsedMS double
return int

PlainText() public method

public PlainText ( ) : System
return System

PlainText() public method

public PlainText ( SpriteFont spriteFont, string text ) : System
spriteFont Microsoft.Xna.Framework.Graphics.SpriteFont
text string
return System

ToString() public method

public ToString ( ) : string
return string