public void MakeMove(ConnectedClient client, BattleHitZone hitLocation, BattleHitZone blockLocation, string targetName) { var combatant = this.combatants.First(cl => cl.Client == client); combatant.SetMove(hitLocation, blockLocation, targetName); this.CheckForEndOfRound(); }
public void SetMove(BattleHitZone hitLocation, BattleHitZone blockLocation, string targetName) { this.HitLocation = hitLocation; this.BlockLocation = blockLocation; this.CurrentTargetName = targetName; }