public static void CheckForAttackCollision( FighterModel thisFighter, Dictionary <string, ViewObject> thisFighterActions, FighterModel otherFighter, Dictionary <string, ViewObject> otherFighterActions) { // NEEDED FOR GetData() ViewObject otherFighterCurrentAction = GetFighterCurrentAction(otherFighterActions); if (thisFighterActions["Punch"].ToBeDrawn) { if (IsThereCollision( thisFighter, thisFighterActions["Punch"].GetColorData(), otherFighter, otherFighterCurrentAction.GetColorData())) { if (!otherFighter.IsBlocking) { BattlegroundController.ResetViews(otherFighterActions); if (thisFighter.Name == "Clark") { AudioController.PlaySound(AudioController.ClarkPunchInstance); } else if (thisFighter.Name == "Yuri") { AudioController.PlaySound(AudioController.YuriPunchInstance); } otherFighterActions["Hit"].ToBeDrawn = true; otherFighterActions["Hit"].Drawn = false; } else { // ADD BLOCKING FUNCTIONALITY HERE // AudioController.PlaySound(AudioController.BlockSoundInstance); } otherFighter.HasBeenHit = true; } } else if (thisFighterActions["Kick"].ToBeDrawn) { if (IsThereCollision( thisFighter, thisFighterActions["Kick"].GetColorData(), otherFighter, otherFighterCurrentAction.GetColorData())) { if (!otherFighter.IsBlocking) { if (thisFighter.Name == "Clark") { AudioController.PlaySound(AudioController.ClarkKickInstance); } else if (thisFighter.Name == "Yuri") { AudioController.PlaySound(AudioController.YuriKickInstance); } BattlegroundController.ResetViews(otherFighterActions); otherFighterActions["Hit"].ToBeDrawn = true; otherFighterActions["Hit"].Drawn = false; } else { // ADD BLOCKING FUNCTIONALITY HERE // AudioController.PlaySound(AudioController.BlockSoundInstance); } otherFighter.HasBeenHit = true; } } }