public function get($index)
    {
        try {
            if (is_string($index)) {
                if ($this->getWalkFlag() & self::WALK_X) {
                    $ret = $this->getX($index);
                } elseif ($this->getWalkFlag() & self::WALK_Y) {
                    $ret = $this->getY($index);
                } else {
                    $ret = $this->getXY($index);
                }
            } else {
                $ret = $this->getInt($index);
            }
        } catch (InvalidArgumentException $e) {
            throw $e;
        } catch (OutOfRangeException $e) {
            throw $e;
        }
        return $ret;
    }