C# Class Defend_your_home.UI.Label

Inheritance: IGraphicsControl
Datei anzeigen Open project: MandragoraStudio/Defend-your-home Class Usage Examples

Protected Properties

Property Type Description
color Color
font Microsoft.Xna.Framework.Graphics.SpriteFont
position Vector2
text string
textSize Vector2

Public Methods

Method Description
Draw ( SpriteBatch spriteBatch ) : void
Label ( string text, SpriteFont font, Vector2 position ) : System
Update ( ) : void

Method Details

Draw() public method

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

Label() public method

public Label ( string text, SpriteFont font, Vector2 position ) : System
text string
font Microsoft.Xna.Framework.Graphics.SpriteFont
position Vector2
return System

Update() public method

public Update ( ) : void
return void

Property Details

color protected_oe property

protected Color color
return Color

font protected_oe property

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

position protected_oe property

protected Vector2 position
return Vector2

text protected_oe property

protected string text
return string

textSize protected_oe property

protected Vector2 textSize
return Vector2