C# Class Gruppe22.Client.TextOutput

Class used for output - parent to statusbox (output only) and chat (input + output)
Inheritance: UIElement, Backend.IHandleEvent
显示文件 Open project: propra13-orga/gruppe22 Class Usage Examples

Public Methods

Method Description
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

Method Details

AddLine() public method

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

TextOutput() public method

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
return System