Class Guild

  • All Implemented Interfaces:
    IGuild

    public class Guild
    extends java.lang.Object
    implements IGuild
    Author:
    Andi Hotz, (c) Sahits GmbH, 2016 Created on Nov 06, 2016
    • Constructor Summary

      Constructors 
      Constructor Description
      Guild()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void join​(IPlayer player)
      A player joins the guild.
      void resetAuction​(IAuction auction)
      Once the auction has happened the value must be reset.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Guild

        public Guild()
    • Method Detail

      • join

        public void join​(IPlayer player)
        Description copied from interface: IGuild
        A player joins the guild. The entrance fee is not deduced here.
        Specified by:
        join in interface IGuild
        Parameters:
        player - who joins the guild
      • resetAuction

        public void resetAuction​(IAuction auction)
        Description copied from interface: IGuild
        Once the auction has happened the value must be reset.
        Specified by:
        resetAuction in interface IGuild
        Parameters:
        auction - to be removed