示例#1
0
        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();
        }
示例#2
0
 public void SetMove(BattleHitZone hitLocation, BattleHitZone blockLocation, string targetName)
 {
     this.HitLocation       = hitLocation;
     this.BlockLocation     = blockLocation;
     this.CurrentTargetName = targetName;
 }