C# Class BalloonsPop.Core.EngineCore

The core logic for requsting commands based on input and executing those commands in the provided context.
Datei anzeigen Open project: Baloons-Pop-4/Main

Protected Methods

Method Description
EngineCore ( IContext ctx, IUserInputValidator inputValidator, ICommandFactory cmdFactory, ILogger logger ) : System

Initializes a new instance of the EngineCore class.

GetCommand ( string userCommand ) : ICommand

Method Details

EngineCore() protected method

Initializes a new instance of the EngineCore class.
protected EngineCore ( IContext ctx, IUserInputValidator inputValidator, ICommandFactory cmdFactory, ILogger logger ) : System
ctx IContext
inputValidator IUserInputValidator
cmdFactory ICommandFactory
logger ILogger
return System

GetCommand() protected method

protected GetCommand ( string userCommand ) : ICommand
userCommand string
return ICommand