Class ChurchState
- java.lang.Object
-
- ch.sahits.game.openpatrician.model.city.impl.ChurchState
-
-
Constructor Summary
Constructors Constructor Description ChurchState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmakeDonation(int amount)Make a donation ofamounttoward the church extension.voidupgrade()Upgrade to the next level.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.sahits.game.openpatrician.model.city.IChurch
getCollectedDonationsForExtension, getExtensionLevel
-
-
-
-
Method Detail
-
upgrade
public void upgrade()
Description copied from interface:IChurchUpgrade to the next level.
-
makeDonation
public void makeDonation(int amount)
Description copied from interface:IChurchMake a donation ofamounttoward the church extension.- Specified by:
makeDonationin interfaceIChurch- Parameters:
amount- to donate toward the church extension.
-
-