C# Class TerrainDisplay.MpqConsole

Console used to execute commands in game.
Inheritance: Microsoft.Xna.Framework.DrawableGameComponent
Afficher le fichier Open project: WCell/WCell-Terrain

Méthodes publiques

Méthode Description
Execute ( string input ) : void

Executes python commands from the console.

IsOpen ( ) : bool

Check if the console is open.

MpqConsole ( Microsoft.Xna.Framework.Game game, SpriteFont font ) : System

Creates a new MpqConsole

Open ( ) : void

Opens the console.

Write ( string s ) : void

Writes text to the console

WriteLine ( string s ) : void

Writes a line to the console

Method Details

Execute() public méthode

Executes python commands from the console.
public Execute ( string input ) : void
input string
Résultat void

IsOpen() public méthode

Check if the console is open.
public IsOpen ( ) : bool
Résultat bool

MpqConsole() public méthode

Creates a new MpqConsole
public MpqConsole ( Microsoft.Xna.Framework.Game game, SpriteFont font ) : System
game Microsoft.Xna.Framework.Game
font Microsoft.Xna.Framework.Graphics.SpriteFont
Résultat System

Open() public méthode

Opens the console.
public Open ( ) : void
Résultat void

Write() public méthode

Writes text to the console
public Write ( string s ) : void
s string String to write
Résultat void

WriteLine() public méthode

Writes a line to the console
public WriteLine ( string s ) : void
s string String to write
Résultat void