C# Класс SunsetHigh.KeyModifierEntry

Наследование: MenuEntry
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

KeyModifierEntry() публичный Метод

public KeyModifierEntry ( string name, KeyConfigPanel owner, KeyInputType inputType ) : System
name string
owner KeyConfigPanel
inputType KeyInputType
Результат System

draw() публичный Метод

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
Результат void

getKeyInputString() публичный Метод

public getKeyInputString ( ) : string
Результат string

getKeyInputType() публичный Метод

public getKeyInputType ( ) : KeyInputType
Результат KeyInputType

getKeyString() публичный Метод

public getKeyString ( ) : string
Результат string

onPress() публичный Метод

public onPress ( ) : void
Результат void

sendNewKey() публичный Метод

public sendNewKey ( Keys key ) : void
key Keys
Результат void

setKeyInputType() публичный Метод

public setKeyInputType ( KeyInputType inputType ) : void
inputType KeyInputType
Результат void