private World.direction getDirection(World.direction lastDirection) {
        World.direction direction = lastDirection;
        float chance = randGen.nextFloat();
        if (chance < 0.02f) {
            if (lastDirection == World.direction.Left) {
                direction = World.direction.Right;
            } else {
                direction = World.direction.Left;
            }
        }
        return direction;
    }