Class ChurchState

  • All Implemented Interfaces:
    IChurch

    public class ChurchState
    extends java.lang.Object
    implements IChurch
    Author:
    Andi Hotz, (c) Sahits GmbH, 2015 Created on Jun 21, 2015
    • Constructor Detail

      • ChurchState

        public ChurchState()
    • Method Detail

      • upgrade

        public void upgrade()
        Description copied from interface: IChurch
        Upgrade to the next level.
        Specified by:
        upgrade in interface IChurch
      • makeDonation

        public void makeDonation​(int amount)
        Description copied from interface: IChurch
        Make a donation of amount toward the church extension.
        Specified by:
        makeDonation in interface IChurch
        Parameters:
        amount - to donate toward the church extension.