C# Class GameEngine.Drawing.Text.TextDrawable

Inheritance: IGameDrawable
Mostra file Open project: MichaelAquilina/Some-2D-RPG

Public Methods

Method Description
Draw ( SpriteBatch spriteBatch, Rectangle destRectangle, Color color, float rotation, Vector2 origin, SpriteEffects spriteEffects, float layerDepth, double elapsedMS ) : void
GetHeight ( double elapsedMS ) : int
GetSpriteFont ( double elapsedMS ) : SpriteFont
GetText ( double elapsedMS ) : string
GetWidth ( double elapsedMS ) : int
IsFinished ( double elapsedMS ) : bool
TextDrawable ( ) : System

Method Details

Draw() public method

public Draw ( SpriteBatch spriteBatch, Rectangle destRectangle, Color color, float rotation, Vector2 origin, SpriteEffects spriteEffects, float layerDepth, double elapsedMS ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
destRectangle Microsoft.Xna.Framework.Rectangle
color Color
rotation float
origin Vector2
spriteEffects SpriteEffects
layerDepth float
elapsedMS double
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

IsFinished() public method

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

TextDrawable() public method

public TextDrawable ( ) : System
return System