C# Class Gruppe22.Client.NumberEntry

Inheritance: TextInput, Backend.IHandleEvent
Show file Open project: propra13-orga/gruppe22 Class Usage Examples

Public Methods

Method 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 method

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

NumberEntry() public method

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
return System

OnKeyDown() public method

public OnKeyDown ( Microsoft k ) : bool
k Microsoft
return bool

OnMouseDown() public method

public OnMouseDown ( int button ) : bool
button int
return bool