|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRecruiting
Interface for recruiting. All recruiting should go through one of those. Eventually.
Method Summary | |
---|---|
java.util.Set<CreatureType> |
getPossibleRecruiters(MasterHex hex)
Return all the CreatureType that can be recruits (something) in the hex. |
java.util.Set<CreatureType> |
getPossibleRecruits(MasterHex hex)
Return all the CreatureType that can be (somehow) recruited in the hex. |
int |
maximumNumberNeededOf(CreatureType ct,
MasterHex hex)
|
int |
numberOfRecruiterNeeded(CreatureType recruiter,
CreatureType recruit,
MasterHex hex)
Return the number of recruiter needed to obtain a recruit in hex |
Method Detail |
---|
int numberOfRecruiterNeeded(CreatureType recruiter, CreatureType recruit, MasterHex hex)
recruiter
- The Recruiterrecruit
- The Recruithex
- The hexagon in which the recruiting occurs
java.util.Set<CreatureType> getPossibleRecruits(MasterHex hex)
hex
- The hexagon to consider
java.util.Set<CreatureType> getPossibleRecruiters(MasterHex hex)
hex
- The hexagon to consider
int maximumNumberNeededOf(CreatureType ct, MasterHex hex)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |