C# Class Defend_your_home.UI.Label

Inheritance: IGraphicsControl
Afficher le fichier Open project: MandragoraStudio/Defend-your-home Class Usage Examples

Protected Properties

Свойство Type Description
color Color
font Microsoft.Xna.Framework.Graphics.SpriteFont
position Vector2
text string
textSize Vector2

Méthodes publiques

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

Method Details

Draw() public méthode

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

Label() public méthode

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

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

color protected_oe property

protected Color color
Résultat Color

font protected_oe property

protected SpriteFont,Microsoft.Xna.Framework.Graphics font
Résultat Microsoft.Xna.Framework.Graphics.SpriteFont

position protected_oe property

protected Vector2 position
Résultat Vector2

text protected_oe property

protected string text
Résultat string

textSize protected_oe property

protected Vector2 textSize
Résultat Vector2