C# Class SunsetHigh.KeyModifierEntry

Inheritance: MenuEntry
Mostrar archivo Open project: ErraticUnicorn/MOSH Class Usage Examples

Public Methods

Method Description
KeyModifierEntry ( string name, KeyConfigPanel owner, KeyInputType inputType ) : System
draw ( SpriteBatch sb, int x_offset, int y_offset, SpriteFont font, Color c ) : void
getKeyInputString ( ) : string
getKeyInputType ( ) : KeyInputType
getKeyString ( ) : string
onPress ( ) : void
sendNewKey ( Keys key ) : void
setKeyInputType ( KeyInputType inputType ) : void

Method Details

KeyModifierEntry() public method

public KeyModifierEntry ( string name, KeyConfigPanel owner, KeyInputType inputType ) : System
name string
owner KeyConfigPanel
inputType KeyInputType
return System

draw() public method

public draw ( SpriteBatch sb, int x_offset, int y_offset, SpriteFont font, Color c ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
x_offset int
y_offset int
font Microsoft.Xna.Framework.Graphics.SpriteFont
c Color
return void

getKeyInputString() public method

public getKeyInputString ( ) : string
return string

getKeyInputType() public method

public getKeyInputType ( ) : KeyInputType
return KeyInputType

getKeyString() public method

public getKeyString ( ) : string
return string

onPress() public method

public onPress ( ) : void
return void

sendNewKey() public method

public sendNewKey ( Keys key ) : void
key Keys
return void

setKeyInputType() public method

public setKeyInputType ( KeyInputType inputType ) : void
inputType KeyInputType
return void