C# 클래스 Gruppe22.Client.TextOutput

Class used for output - parent to statusbox (output only) and chat (input + output)
상속: UIElement, Backend.IHandleEvent
파일 보기 프로젝트 열기: propra13-orga/gruppe22 1 사용 예제들

공개 메소드들

메소드 설명
AddLine ( string text, object color = null ) : void

Add a line of text to output (requires implementation in children

TextOutput ( Backend parent, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Content.ContentManager content, Rectangle displayRect ) : System

메소드 상세

AddLine() 공개 메소드

Add a line of text to output (requires implementation in children
public AddLine ( string text, object color = null ) : void
text string
color object
리턴 void

TextOutput() 공개 메소드

public TextOutput ( Backend parent, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Content.ContentManager content, Rectangle displayRect ) : System
parent Backend
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
content Microsoft.Xna.Framework.Content.ContentManager
displayRect Microsoft.Xna.Framework.Rectangle
리턴 System