Interface IRecruiting

All Known Implementing Classes:
RecruitingSubTree

public interface IRecruiting
Interface for recruiting. All recruiting should go through one of those. Eventually.
Author:
Romain Dolbeau
  • Method Details

    • numberOfRecruiterNeeded

      int numberOfRecruiterNeeded(CreatureType recruiter, CreatureType recruit, MasterHex hex)
      Return the number of recruiter needed to obtain a recruit in hex
      Parameters:
      recruiter - The Recruiter
      recruit - The Recruit
      hex - The hexagon in which the recruiting occurs
      Returns:
      The number of recruiter needed to obtain a recruit in hex
    • getPossibleRecruits

      Set<CreatureType> getPossibleRecruits(MasterHex hex)
      Return all the CreatureType that can be (somehow) recruited in the hex.
      Parameters:
      hex - The hexagon to consider
      Returns:
      All CreatureType that can be recruited in hex
    • getPossibleRecruiters

      Set<CreatureType> getPossibleRecruiters(MasterHex hex)
      Return all the CreatureType that can be recruits (something) in the hex.
      Parameters:
      hex - The hexagon to consider
      Returns:
      All CreatureType that can recruit in hex
    • maximumNumberNeededOf

      int maximumNumberNeededOf(CreatureType ct, MasterHex hex)