/** * @version 0.1.3 * @since 0.1.0 * @return int Map width. * @throws E_OTS_NotLoaded If map is not loaded. * @deprecated 0.1.3 Use POT::getMap()->getMapWidth(). */ public function getMapWidth() { if (isset($this->map)) { return $this->map->getWidth(); } throw new E_OTS_NotLoaded(); }