C# Class GameEngine.Drawing.Text.RegionText

Inheritance: TextDrawable
Datei anzeigen Open project: MichaelAquilina/Some-2D-RPG Class Usage Examples

Public Methods

Method Description
GetSpriteFont ( double elapsedMS ) : SpriteFont
GetText ( double elapsedMS ) : string
IsFinished ( double elapsedMS ) : bool
RegionText ( SpriteFont spriteFont, string text, int width, int height ) : System
SetText ( string text, int width, int height ) : void
ToString ( ) : string

Private Methods

Method Description
GetTextIndex ( double elapsedMS ) : int
ProcessText ( ) : void

Method Details

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

IsFinished() public method

public IsFinished ( double elapsedMS ) : bool
elapsedMS double
return bool

RegionText() public method

public RegionText ( SpriteFont spriteFont, string text, int width, int height ) : System
spriteFont Microsoft.Xna.Framework.Graphics.SpriteFont
text string
width int
height int
return System

SetText() public method

public SetText ( string text, int width, int height ) : void
text string
width int
height int
return void

ToString() public method

public ToString ( ) : string
return string