public void checkPlayerCollision(Ship player,
        boolean canKill)
    {
        if (!player.isAlive()) {
            return;
        }

        // check for player collision with other sprites
        Sprite collisionSprite = getSpriteCollision(player);
        if (collisionSprite instanceof PowerUp) {
            acquirePowerUp((PowerUp)collisionSprite);
        }
        else if (collisionSprite instanceof Creature) {
        	if(collisionSprite instanceof Planet){
        		//player.setVelocityX(0);
        		//player.setVelocityY(0);
        	}else if(collisionSprite instanceof Projectile){
        		if(((Projectile)collisionSprite).parentId == player.id){
        			
        		}else{
        			//player.setState(Creature.STATE_DYING);
        			//((Creature) collisionSprite).setState(Creature.STATE_DYING);
        		}
        	}else{
	            Creature badguy = (Creature)collisionSprite;
	            if (canKill) {
	                // kill the badguy and make player bounce
	               // soundManager.play(boopSound);
	               // badguy.setState(Creature.STATE_DYING);
	                //player.setY(badguy.getY() - player.getHeight());
	            }
	            else {
	                // player dies!
	                //player.setState(Creature.STATE_DYING);
	            }
        	}
        }
    }