C# Class TerrainDisplay.MpqConsole

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

Public Methods

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

Executes python commands from the console.
public Execute ( string input ) : void
input string
return void

IsOpen() public method

Check if the console is open.
public IsOpen ( ) : bool
return bool

MpqConsole() public method

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

Open() public method

Opens the console.
public Open ( ) : void
return void

Write() public method

Writes text to the console
public Write ( string s ) : void
s string String to write
return void

WriteLine() public method

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