C# 클래스 Fusion.Core.Shell.Invoker

파일 보기 프로젝트 열기: demiurghg/FusionEngine 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AutoCompleteCommand Suggestion
AutoCompleteVariable Suggestion
FeedConfigs void
GetCommand Command
LongestCommon string
LongestCommon string

공개 메소드들

메소드 설명
AutoComplete ( string input ) : Suggestion

ExecuteQueue ( GameTime gameTime, CommandAffinity affinity, bool forceDelayed = false ) : void

Executes enqueued commands. Updates delayed commands.

Initialize ( Game game, Type types ) : void

Invoker ( Game game, CommandAffinity affinity ) : System

Creates instance of Invoker.

PurgeHistory ( ) : void

Purges all history.

Push ( string commandLine ) : Command

Parses and pushes command to the queue.

Push ( Command command ) : void

Parse given string and push parsed command to queue.

PushAndExecute ( string commandLine ) : object

Undo ( ) : void

Undo one command.

비공개 메소드들

메소드 설명
AutoCompleteCommand ( string input, string args, string commandName ) : Suggestion

AutoCompleteVariable ( string input, string args, ConfigVariable variable ) : Suggestion

FeedConfigs ( IEnumerable variables ) : void

GetCommand ( string name ) : Command

LongestCommon ( IEnumerable values ) : string

LongestCommon ( string a, string b ) : string

메소드 상세

AutoComplete() 공개 메소드

public AutoComplete ( string input ) : Suggestion
input string
리턴 Suggestion

ExecuteQueue() 공개 메소드

Executes enqueued commands. Updates delayed commands.
public ExecuteQueue ( GameTime gameTime, CommandAffinity affinity, bool forceDelayed = false ) : void
gameTime Fusion.Engine.Common.GameTime
affinity CommandAffinity
forceDelayed bool
리턴 void

Initialize() 공개 메소드

public Initialize ( Game game, Type types ) : void
game Game
types System.Type
리턴 void

Invoker() 공개 메소드

Creates instance of Invoker.
public Invoker ( Game game, CommandAffinity affinity ) : System
game Game Game instance
affinity CommandAffinity
리턴 System

PurgeHistory() 공개 메소드

Purges all history.
public PurgeHistory ( ) : void
리턴 void

Push() 공개 메소드

Parses and pushes command to the queue.
public Push ( string commandLine ) : Command
commandLine string
리턴 Command

Push() 공개 메소드

Parse given string and push parsed command to queue.
public Push ( Command command ) : void
command Command
리턴 void

PushAndExecute() 공개 메소드

public PushAndExecute ( string commandLine ) : object
commandLine string
리턴 object

Undo() 공개 메소드

Undo one command.
public Undo ( ) : void
리턴 void