// Get new instance
$stateInstance = new CityVirginState();
- // Set the city instance
- $stateInstance->setCityInstance($cityInstance);
-
// Return the prepared instance
return $stateInstance;
}
/**
- * Change the state to 'active' when the city simulation has initialized all
+ * Change the state to 'active' when the city daemon has initialized all
* tasks, queues, etc.
*
* @return void
*/
- public function citySimulationIsActivated () {
+ public function cityIsActivated () {
// Create the new state instance
CityStateFactory::createCityStateInstanceByName('active');
}
-
}
// [EOF]