Package | Description |
---|---|
org.lazywizard.lazylib.campaign |
Contains campaign helper classes.
|
Modifier and Type | Method and Description |
---|---|
static CampaignUtils.IncludeRep |
CampaignUtils.IncludeRep.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CampaignUtils.IncludeRep[] |
CampaignUtils.IncludeRep.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
CampaignUtils.areAtRep(SectorEntityToken token1,
SectorEntityToken token2,
CampaignUtils.IncludeRep include,
RepLevel rep)
Checks if two campaign objects have a specific reputation with each
other.
|
static <T extends SectorEntityToken> |
CampaignUtils.getEntitiesWithRep(SectorEntityToken token,
String entityTag,
CampaignUtils.IncludeRep include,
RepLevel rep)
Find all entities with a specific tag and reputation with a
SectorEntityToken in that token's location, excluding itself. |
static <T extends SectorEntityToken> |
CampaignUtils.getNearbyEntitiesWithRep(SectorEntityToken token,
float range,
String entityTag,
CampaignUtils.IncludeRep include,
RepLevel rep)
Find nearby entities with a specific tag and reputation with a
SectorEntityToken , excluding itself. |
static <T extends SectorEntityToken> |
CampaignUtils.getNearestEntityWithRep(SectorEntityToken token,
String entityTag,
CampaignUtils.IncludeRep include,
RepLevel rep)
Find the closest entity with a specific tag and reputation with a
SectorEntityToken , excluding itself. |