C# Class Gruppe22.Client.NumberEntry

Inheritance: TextInput, Backend.IHandleEvent
Afficher le fichier Open project: propra13-orga/gruppe22 Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( GameTime gameTime ) : void
NumberEntry ( Backend parent, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Content.ContentManager content, Rectangle displayRect, string label, int value, string toolTip, int inputWidth, bool canEdit ) : System

OnKeyDown ( Microsoft k ) : bool
OnMouseDown ( int button ) : bool

Method Details

Draw() public méthode

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

NumberEntry() public méthode

public NumberEntry ( Backend parent, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Content.ContentManager content, Rectangle displayRect, string label, int value, string toolTip, int inputWidth, bool canEdit ) : System
parent Backend
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
content Microsoft.Xna.Framework.Content.ContentManager
displayRect Microsoft.Xna.Framework.Rectangle
label string
value int
toolTip string
inputWidth int
canEdit bool
Résultat System

OnKeyDown() public méthode

public OnKeyDown ( Microsoft k ) : bool
k Microsoft
Résultat bool

OnMouseDown() public méthode

public OnMouseDown ( int button ) : bool
button int
Résultat bool