public AttackCommand(GameObject player, GameObject gridCell, PlayerManager playerManager, Player playerCharac, SpellBar spellBar, DisplayInformationsInGame display) : base(player) { GridCell = gridCell; PlayerManager = playerManager; PlayerCharac = playerCharac; _spellBar = spellBar; _display = display; }
public MoveCommand(GameObject Player, GameObject TargetCell, Player player, SpellBar spellBar, DisplayInformationsInGame display) : base(Player) { this.TargetCell = TargetCell; _grid = GridGenerator.Instance; this.PlayerCharac = player; _spellBar = spellBar; _display = display; }