예제 #1
0
        public override void Inicialisation(ListUnits listUnits, TileSpecialZone tileSpecialZone)
        {
            _attack = new MeleeAttack();
            _enemyGuards.GetComponent <EnemyGuards>();

            ReturnStep();
            _mathOfUnits     = new MathOfUnits();
            _HP              = _maxHP;
            _listUnits       = listUnits;
            _tileSpecialZone = tileSpecialZone;
        }
예제 #2
0
        public override void Inicialisation(ListUnits listUnits, TileSpecialZone tileSpecialZone)
        {
            _attack          = new MeleeAttack();
            _tileSpecialZone = tileSpecialZone;
            _skills1         = new HighHitSkill(_tileSpecialZone, _ATK, _zoneAtack, _zoneNoAtack);
            _skills2         = new LowHitSkill(_tileSpecialZone, _ATK, _zoneAtack, _zoneNoAtack);
            _playerGuards    = GetComponent <PlayerUnit>();

            ReturnStep();
            _HP          = _maxHP;
            _mathOfUnits = new MathOfUnits();
            _listUnits   = listUnits;
        }