Exemple #1
0
 private void SetSquad(SquadData squad)
 {
     if (squad != null)
     {
         _startCount = squad.CurrentCount;
         _squad      = squad;
         Health      = squad.Unit.Health * squad.CurrentCount;
     }
 }
Exemple #2
0
        public void Init(SquadData squad, bool isOwn)
        {
            SetSquad(squad);
            IsOwn = isOwn;
            bool isRightDirection = isOwn;

            SetDirection(isRightDirection);
            TotalDamagePerBattle = 0;
        }