| Modifier and Type | Field and Description |
|---|---|
private int |
collectedDonationsForExtension |
private EChurchExtension |
extensionLevel |
private org.apache.logging.log4j.Logger |
logger |
| Constructor and Description |
|---|
ChurchState() |
| Modifier and Type | Method and Description |
|---|---|
void |
makeDonation(int amount)
Make a donation of
amount toward the church extension. |
void |
upgrade()
Upgrade to the next level.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCollectedDonationsForExtension, getExtensionLevelprivate final org.apache.logging.log4j.Logger logger
private EChurchExtension extensionLevel
private int collectedDonationsForExtension
public void upgrade()
IChurchpublic void makeDonation(int amount)
IChurchamount toward the church extension.makeDonation in interface IChurchCopyright © 2011-2016 Sahits GmbH. All Rights Reserved.