Exemple #1
0
 /**
  * @version 0.1.3
  * @since 0.1.0
  * @return int Map height.
  * @throws E_OTS_NotLoaded If map is not loaded.
  * @deprecated 0.1.3 Use POT::getMap()->getMapHeight().
  */
 public function getMapHeight()
 {
     if (isset($this->map)) {
         return $this->map->getHeight();
     }
     throw new E_OTS_NotLoaded();
 }