Class CityWallMaterialBuyingTask
- java.lang.Object
-
- ch.sahits.game.openpatrician.model.event.TimedTask
-
- ch.sahits.game.openpatrician.engine.land.city.internal.CityWallMaterialBuyingTask
-
- All Implemented Interfaces:
java.lang.Runnable
public class CityWallMaterialBuyingTask extends ch.sahits.game.openpatrician.model.event.TimedTaskTask for the buying the material for the city wall building.- Author:
- Andi Hotz, (c) Sahits GmbH, 2015 Created on Jun 05, 2015
-
-
Constructor Summary
Constructors Constructor Description CityWallMaterialBuyingTask(ch.sahits.game.openpatrician.model.city.cityhall.ICityHall cityHall, java.time.LocalDateTime electionTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()Check the amount of bricks required and if the price is not too heigh buy it.java.lang.StringtoString()
-