Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 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;
 }