C# 클래스 Descent.GUI.SubElements.ChatElement

The chat displays chat messages and has an input element as a child that is used to write chatmessages to the chat.
상속: GUIElement
파일 보기 프로젝트 열기: nezbo/Descent

공개 메소드들

메소드 설명
ChatElement ( Microsoft.Xna.Framework.Game game ) : System.Collections.Generic

Creates a new Chat for the given Game.

Draw ( SpriteBatch draw ) : void
HandleKeyPress ( Keys key ) : void

비공개 메소드들

메소드 설명
FormatAndAdd ( string text ) : void
GetMessage ( object sender, ChatMessageEventArgs eventArgs ) : void
GiveEquipment ( object sender, GiveEquipmentEventArgs eventArgs ) : void
SendMessage ( string text ) : void

메소드 상세

ChatElement() 공개 메소드

Creates a new Chat for the given Game.
public ChatElement ( Microsoft.Xna.Framework.Game game ) : System.Collections.Generic
game Microsoft.Xna.Framework.Game The current Game object.
리턴 System.Collections.Generic

Draw() 공개 메소드

public Draw ( SpriteBatch draw ) : void
draw Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

HandleKeyPress() 공개 메소드

public HandleKeyPress ( Keys key ) : void
key Keys
리턴 void