and remove all my additions but the act method
private void setDirection(int direction)
{
if (direction < 0 || direction > 3) return;
this.direction = direction;
setRotation(90 * direction);
}public Wombat()
{
setDirection(Greenfoot.getRandomNumber(4));
}