]> git.mxchange.org Git - city.git/blobdiff - application/city/main/city_daemon/class_BaseCityDaemon.php
Added initial database frontend class for city maps + its interface.
[city.git] / application / city / main / city_daemon / class_BaseCityDaemon.php
index 23d7facf4654432a597742a1406118aadcb87f2b..ed5f3276af7ebe5b8b1a462925c7ac3ddc0ad820 100644 (file)
@@ -249,6 +249,20 @@ class BaseCityDaemon extends BaseCitySystem implements Updateable, AddableCriter
        public function bootstrapInitCityDaemon () {
                $this->partialStub('Please add something here.');
        }
+
+       /**
+        * Checks whether at least one map requires expansion
+        *
+        * @return      $requiresExpansion      Whether a map requires expansion
+        * @todo        0% done
+        */
+       public function isMapPendingExpansion () {
+               // Get map manager
+               $mapInstance = ManagerFactory::createManagerByType('city_map');
+
+               // Call it's method and return value
+               return $mapInstance->isMapPendingExpansion();
+       }
 }
 
 // [EOF]