if (texture.equals("obstacle_ball.png")) {
bounds =
new BoundingBox(new Vector3f(-0.9f, -0.9f, 0.0f),
new Vector3f(0.9f, 0.9f, 0.0f));
} else if (texture.equals("obstacle_spikewheel.png")) {
bounds = new BoundingSphere(new Vector3f(), 0.75f);
}
enemy =
new Sprite(texture, bounds, new Vector3f(-11.0f + pos[0]
* 2.0f, -11.0f + pos[1] * 2.0f, 0.0f));