C# Class Blink.GUI.TextButton

A button with text
Inheritance: Button
Afficher le fichier Open project: dah6ce/Blink

Méthodes publiques

Méthode Description
Draw ( SpriteBatch sb ) : void
SetText ( String text ) : void
TextButton ( String text, SpriteFont font, Vector2 pos, Microsoft.Xna.Framework.Graphics.Texture2D up, Microsoft.Xna.Framework.Graphics.Texture2D down, Vector2 center = default(Vector2) ) : System

Method Details

Draw() public méthode

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

SetText() public méthode

public SetText ( String text ) : void
text String
Résultat void

TextButton() public méthode

public TextButton ( String text, SpriteFont font, Vector2 pos, Microsoft.Xna.Framework.Graphics.Texture2D up, Microsoft.Xna.Framework.Graphics.Texture2D down, Vector2 center = default(Vector2) ) : System
text String
font Microsoft.Xna.Framework.Graphics.SpriteFont
pos Vector2
up Microsoft.Xna.Framework.Graphics.Texture2D
down Microsoft.Xna.Framework.Graphics.Texture2D
center Vector2
Résultat System