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);
 }
Exemple #2
0
 public StatusCommand(Character character)
 {
     typeOfCommand = new NoTransfer();
 }
Exemple #3
0
 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();
 }
Exemple #5
0
 public MoveCommand(Character c)
 {
     _character    = c;
     typeOfCommand = new HighlightTilesCommand(_character._MoveRemaining, _character.TilePawnIsOn, onClick, EnumHolder.EntityType.Clear);
 }
Exemple #6
0
 public MenuBack(Func <List <Command> > commands)
 {
     typeOfCommand = new TransferMenuCommand(commands);
 }