C# Class MonoGameConsole.GameConsole

Afficher le fichier Open project: romanov/MonoGame-Console Class Usage Examples

Méthodes publiques

Méthode Description
AddCommand ( ) : void

Adds a new command to the console

AddCommand ( string name, string>.Func action ) : void

Adds a new command to the console

AddCommand ( string name, string>.Func action, string description ) : void

Adds a new command to the console

GameConsole ( Microsoft.Xna.Framework.Game game, SpriteBatch spriteBatch ) : System
GameConsole ( Microsoft.Xna.Framework.Game game, SpriteBatch spriteBatch, GameConsoleOptions options ) : System
GameConsole ( Microsoft.Xna.Framework.Game game, SpriteBatch spriteBatch, IEnumerable commands ) : System
GameConsole ( Microsoft.Xna.Framework.Game game, SpriteBatch spriteBatch, IEnumerable commands, GameConsoleOptions options ) : System
WriteLine ( string text ) : void

Write directly to the output stream of the console

Method Details

AddCommand() public méthode

Adds a new command to the console
public AddCommand ( ) : void
Résultat void

AddCommand() public méthode

Adds a new command to the console
public AddCommand ( string name, string>.Func action ) : void
name string Name of the command
action string>.Func
Résultat void

AddCommand() public méthode

Adds a new command to the console
public AddCommand ( string name, string>.Func action, string description ) : void
name string Name of the command
action string>.Func
description string
Résultat void

GameConsole() public méthode

public GameConsole ( Microsoft.Xna.Framework.Game game, SpriteBatch spriteBatch ) : System
game Microsoft.Xna.Framework.Game
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat System

GameConsole() public méthode

public GameConsole ( Microsoft.Xna.Framework.Game game, SpriteBatch spriteBatch, GameConsoleOptions options ) : System
game Microsoft.Xna.Framework.Game
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
options GameConsoleOptions
Résultat System

GameConsole() public méthode

public GameConsole ( Microsoft.Xna.Framework.Game game, SpriteBatch spriteBatch, IEnumerable commands ) : System
game Microsoft.Xna.Framework.Game
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
commands IEnumerable
Résultat System

GameConsole() public méthode

public GameConsole ( Microsoft.Xna.Framework.Game game, SpriteBatch spriteBatch, IEnumerable commands, GameConsoleOptions options ) : System
game Microsoft.Xna.Framework.Game
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
commands IEnumerable
options GameConsoleOptions
Résultat System

WriteLine() public méthode

Write directly to the output stream of the console
public WriteLine ( string text ) : void
text string
Résultat void