C# 클래스 Knot3.Game.Widgets.TextInputDialog

상속: Knot3.Framework.Widgets.Dialog, IKeyEventListener
파일 보기 프로젝트 열기: knot3/knot3-code 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Cancel Action
Submit Action

공개 메소드들

메소드 설명
OnKeyEvent ( List key, KeyEvent keyEvent, GameTime time ) : void

SubComponents ( GameTime time ) : IEnumerable
TextInputDialog ( IScreen screen, DisplayLayer drawOrder, string title, string text, string inputText ) : System

Erstelle einen neuen TextInputDialog.

메소드 상세

OnKeyEvent() 공개 메소드

public OnKeyEvent ( List key, KeyEvent keyEvent, GameTime time ) : void
key List
keyEvent KeyEvent
time Microsoft.Xna.Framework.GameTime
리턴 void

SubComponents() 공개 메소드

public SubComponents ( GameTime time ) : IEnumerable
time Microsoft.Xna.Framework.GameTime
리턴 IEnumerable

TextInputDialog() 공개 메소드

Erstelle einen neuen TextInputDialog.
public TextInputDialog ( IScreen screen, DisplayLayer drawOrder, string title, string text, string inputText ) : System
screen IScreen
drawOrder DisplayLayer
title string
text string
inputText string
리턴 System

프로퍼티 상세

Cancel 공개적으로 프로퍼티

Wird aufgerufen, wenn der Dialog abgebrochen und geschlossen wird.
public Action Cancel
리턴 Action

Submit 공개적으로 프로퍼티

Wird aufgerufen, wenn der Text im Dialog abgesendet werden soll und der Dialog geschlossen wird.
public Action Submit
리턴 Action