public class WeeklyCityCheckTask
extends ch.sahits.game.openpatrician.model.event.TimedTask
| Modifier and Type | Field and Description |
|---|---|
private ch.sahits.game.openpatrician.model.city.impl.CitiesState |
citiesState |
private org.springframework.context.ApplicationContext |
context |
private ch.sahits.game.openpatrician.model.Date |
date |
private PlayerInteractionFactory |
interactionFactory |
private CityProductionAndConsumptionService |
productionAndConsumtionService |
private ServerSideTaskFactory |
taskFactory |
private ch.sahits.game.openpatrician.model.event.TimedUpdatableTaskList |
taskList |
| Constructor and Description |
|---|
WeeklyCityCheckTask() |
| Modifier and Type | Method and Description |
|---|---|
private org.joda.time.DateTime |
getScheduledDateWeeklyUpdate() |
private void |
handleWeeklyUpdates() |
private void |
initialize() |
void |
run() |
private void |
scheduleNextWeekUpdate() |
@Autowired private ch.sahits.game.openpatrician.model.Date date
@Autowired private ch.sahits.game.openpatrician.model.event.TimedUpdatableTaskList taskList
@Autowired private ServerSideTaskFactory taskFactory
@Autowired private ch.sahits.game.openpatrician.model.city.impl.CitiesState citiesState
@Autowired private CityProductionAndConsumptionService productionAndConsumtionService
@Autowired private PlayerInteractionFactory interactionFactory
@Autowired private org.springframework.context.ApplicationContext context
@PostConstruct private void initialize()
private org.joda.time.DateTime getScheduledDateWeeklyUpdate()
public void run()
private void handleWeeklyUpdates()
private void scheduleNextWeekUpdate()
Copyright © 2011-2017 Sahits GmbH. All Rights Reserved.