C# Class Gruppe22.Client.TextOutput

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

Méthodes publiques

Méthode 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 méthode

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

TextOutput() public méthode

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
Résultat System