C# Класс MonoGameConsole.GameConsole

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

AddCommand() публичный Метод

Adds a new command to the console
public AddCommand ( ) : void
Результат void

AddCommand() публичный Метод

Adds a new command to the console
public AddCommand ( string name, string>.Func action ) : void
name string Name of the command
action string>.Func
Результат void

AddCommand() публичный Метод

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
Результат void

GameConsole() публичный Метод

public GameConsole ( Microsoft.Xna.Framework.Game game, SpriteBatch spriteBatch ) : System
game Microsoft.Xna.Framework.Game
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Результат System

GameConsole() публичный Метод

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
Результат System

GameConsole() публичный Метод

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
Результат System

GameConsole() публичный Метод

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
Результат System

WriteLine() публичный Метод

Write directly to the output stream of the console
public WriteLine ( string text ) : void
text string
Результат void