C# 클래스 Gruppe22.Client.NumberEntry

상속: TextInput, Backend.IHandleEvent
파일 보기 프로젝트 열기: propra13-orga/gruppe22 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

Draw() 공개 메소드

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

NumberEntry() 공개 메소드

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
리턴 System

OnKeyDown() 공개 메소드

public OnKeyDown ( Microsoft k ) : bool
k Microsoft
리턴 bool

OnMouseDown() 공개 메소드

public OnMouseDown ( int button ) : bool
button int
리턴 bool