public boolean CanBePickedUp(Item item) {
        switch (direction) {
            case DIR_UP:
                if (mazeHeight == 1) {
                    return false;
                }
                mazeHeight--;
                break;
            case DIR_DOWN:
                mazeHeight++;
                break;
            case DIR_LEFT:
                if (mazeWidth == 1) {
                    return false;
                }
                mazeWidth--;
                break;
            case DIR_RIGHT:
                mazeWidth++;
                break;
        }
        TextBox tb = room.textBoxes.elementAt(1);
        tb.textString = mazeWidth + "x" + mazeHeight;
        tb.x = (560 - 12 * tb.textString.length()) / 2;

        return false;
    }