C# 클래스 MonoGameConsole.GameConsole

파일 보기 프로젝트 열기: romanov/MonoGame-Console 1 사용 예제들

공개 메소드들

메소드 설명
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