public void DetectColl() { // loop through // Entities vs. player foreach (Entity enemy in current_Enemies) { if (enemy.hitbox.IntersectsWith(player.hitbox)) { player.Hit(); } } // Player Bullets vs. entities foreach (Entity bullet in player_fire) { foreach (Entity enemy in current_Enemies) { if (bullet.hitbox.IntersectsWith(enemy.hitbox)) { enemy.Hit(); } } } }