public CraftFood(iCookingStation cookStaion, Character character, Recipe recipeToMake) { createCommandName(recipeToMake); _cookingStation = cookStaion; _recipieToMake = recipeToMake; _character = character; typeOfCommand = new HighlightTilesCommand(1, character.TilePawnIsOn, CreateFood, EnumHolder.EntityType.CookingStation); }
public StatusCommand(Character character) { typeOfCommand = new NoTransfer(); }
public Act(List <Command> commands, Func <List <Command> > back) { _NextCommands = commands; _NextCommands.Add(new MenuBack(back)); typeOfCommand = new TransferMenuCommand(GetCommands); }
public Exit(Character employee) { _employee = employee; typeOfCommand = new CloseMenuAction(); }
public MoveCommand(Character c) { _character = c; typeOfCommand = new HighlightTilesCommand(_character._MoveRemaining, _character.TilePawnIsOn, onClick, EnumHolder.EntityType.Clear); }
public MenuBack(Func <List <Command> > commands) { typeOfCommand = new TransferMenuCommand(commands); }