public class CityWallMaterialBuyingTask
extends ch.sahits.game.openpatrician.model.event.TimedTask
| Modifier and Type | Field and Description |
|---|---|
private ch.sahits.game.openpatrician.model.city.cityhall.ICityHall |
cityHall |
private ch.sahits.game.openpatrician.model.product.ComputablePriceV2 |
computablePrice |
private ch.sahits.game.openpatrician.model.Date |
date |
private EngineFactory |
engineFactory |
private ch.sahits.game.openpatrician.model.event.TimedUpdatableTaskList |
timedTaskListener |
| Constructor and Description |
|---|
CityWallMaterialBuyingTask(ch.sahits.game.openpatrician.model.city.cityhall.ICityHall cityHall,
org.joda.time.DateTime electionTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Check the amount of bricks required and if the price is not too heigh buy it.
|
private final ch.sahits.game.openpatrician.model.city.cityhall.ICityHall cityHall
@Autowired private EngineFactory engineFactory
@Autowired private ch.sahits.game.openpatrician.model.event.TimedUpdatableTaskList timedTaskListener
@Autowired private ch.sahits.game.openpatrician.model.product.ComputablePriceV2 computablePrice
@Autowired private ch.sahits.game.openpatrician.model.Date date
Copyright © 2011-2016 Sahits GmbH. All Rights Reserved.