public void checkCollision()
{
if (spiderAttackDelay < 1)
{
Actor theSpider = getOneIntersectingObject(Spider.class);
World myWorld = getWorld();
if (theSpider != null)
{
removeLife();
spiderAttackDelay = 50;
Greenfoot.playSound("bite.wav");
}
}
}
nothing is wrong with my sound card or driver or anything :s