Class GuildService


  • public class GuildService
    extends java.lang.Object
    Functionality to access the guild from the UI and the engine.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2016 Created on Nov 06, 2016
    • Constructor Detail

      • GuildService

        public GuildService()
    • Method Detail

      • getEntryFee

        public int getEntryFee​(IPlayer player)
        Calculate the entry fee for the guild based on the company value.
        Parameters:
        player - for whom to calculate the entry fee
        Returns:
        entry fee for the player.
      • cleanUpAuctionAndDetermineAuctionDate

        public java.time.LocalDateTime cleanUpAuctionAndDetermineAuctionDate​(java.time.LocalDateTime auctionDate,
                                                                             IGuild guild)