C# Class MoodSwingGUI.MSGUITypable

MSGUITypable is an MSGUIClickable component that can handle keyboard input. MSGUITypable requires a facade that manages which instance is the one currently given keyboard focus.
Inheritance: MSGUIClickable
Mostrar archivo Open project: verngutz/MoodSwing Class Usage Examples

Protected Properties

Property Type Description
onTab MSGUITypable

Public Methods

Method Description
HandleKeyboardInput ( KeyboardState oldKeyboardState ) : void

Handles how this MSGUITypable should respond to keyboard input

MSGUITypable ( Rectangle boundingRectangle, MSToolTip toolTip, Shape shape, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System

Method Details

HandleKeyboardInput() public abstract method

Handles how this MSGUITypable should respond to keyboard input
public abstract HandleKeyboardInput ( KeyboardState oldKeyboardState ) : void
oldKeyboardState Microsoft.Xna.Framework.Input.KeyboardState the old KeyboardState of the Keyboard
return void

MSGUITypable() public method

public MSGUITypable ( Rectangle boundingRectangle, MSToolTip toolTip, Shape shape, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
boundingRectangle Microsoft.Xna.Framework.Rectangle
toolTip MSToolTip
shape Shape
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
game Microsoft.Xna.Framework.Game
return System

Property Details

onTab protected_oe property

protected MSGUITypable,MoodSwingGUI onTab
return MSGUITypable