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