public void hitDetection()
{
Actor b = getOneIntersectingObject(player2.class);
if(b != null)
{
System.out.println("player 2 Hit");
healthP2--;
System.out.println(healthP2);
getWorld().removeObject(this);
}
}
