C# 클래스 Gruppe22.Client.Chat

상속: TextOutput
파일 보기 프로젝트 열기: propra13-orga/gruppe22

공개 메소드들

메소드 설명
AddLine ( string text, object color = null ) : void
Chat ( Backend parent, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Content.ContentManager content, Rectangle displayRect, bool hasBorder = true, bool center = false ) : System
Draw ( GameTime gameTime ) : void
HandleEvent ( bool DownStream, Backend eventID ) : void
OnKeyDown ( Microsoft k ) : bool
OnMouseDown ( int button ) : bool
Update ( GameTime gameTime ) : void

메소드 상세

AddLine() 공개 메소드

public AddLine ( string text, object color = null ) : void
text string
color object
리턴 void

Chat() 공개 메소드

public Chat ( Backend parent, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Content.ContentManager content, Rectangle displayRect, bool hasBorder = true, bool center = false ) : System
parent Backend
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
content Microsoft.Xna.Framework.Content.ContentManager
displayRect Microsoft.Xna.Framework.Rectangle
hasBorder bool
center bool
리턴 System

Draw() 공개 메소드

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

HandleEvent() 공개 메소드

public HandleEvent ( bool DownStream, Backend eventID ) : void
DownStream bool
eventID Backend
리턴 void

OnKeyDown() 공개 메소드

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

OnMouseDown() 공개 메소드

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

Update() 공개 메소드

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