public Engine(IInputReader reader, IOutputWriter writer, IHeroManager heroManager, ICommandManager commandManager) { this.reader = reader; this.writer = writer; this.heroManager = heroManager; this.commandManager = commandManager; }
public HeroCommand(List <string> args, IHeroManager manager) : base(args, manager) { }
public QuitCommand(IList <string> args, IHeroManager heroManager) : base(args, heroManager) { }
public CommandInterpreter(IHeroManager heroManager) { this.heroManager = heroManager; }
protected AbstractCommand(IList <string> args, IHeroManager heroManager) { this.Args = args; this.HeroManager = heroManager; }
public HeroController(IHeroManager heroManager) { HeroManager = heroManager; }
public Command(IList <string> args, IHeroManager heroManager) { this.args = args; this.HeroManager = heroManager; }
public HeroCommand(IList <string> parameters, IHeroManager heroManager) : base(parameters, heroManager) { }
protected AbstractCommand(IList <string> parameters, IHeroManager heroManager) { this.Parameters = parameters; this.HeroManager = heroManager; }
public AbstractCommand(IList <string> args, IHeroManager heroManager) { this.argsList = args; this.heroManager = heroManager; }
public CommandManager(IHeroManager heroManager, Type[] allCommands) { this.heroManager = heroManager; this.commandTypes = allCommands; }
public CommandManager(IHeroManager heroManager, ITypeCollector typeCollector) : this(heroManager, typeCollector.GetAllInheritingTypes <ICommand>()) { }
public CommandManager(IHeroManager heroManager) : this(heroManager, new TypeCollector()) { }
protected AbstractCommand(List <string> args, IHeroManager manager) { this.Args = args; this.Manager = manager; }