public static class RaidRegistry.RaidStarGrouping
extends java.lang.Object
Constructor and Description |
---|
RaidStarGrouping() |
Modifier and Type | Method and Description |
---|---|
void |
addRaid(int stars,
int species,
java.lang.String form)
Adds a new raid to this group.
|
void |
addRaid(int stars,
RaidRegistry.Raid raid)
Adds a new raid to this group.
|
void |
addRaids(int stars,
java.util.Collection<RaidRegistry.Raid> raids)
Adds a collection of raids to this group.
|
java.util.List<RaidRegistry.Raid> |
getGroup(int stars)
Safely gets the raids of a given star level.
|
java.util.Map<java.lang.Integer,java.util.List<RaidRegistry.Raid>> |
getGroupings()
Gets the inner map of stars to raids.
|
public java.util.Map<java.lang.Integer,java.util.List<RaidRegistry.Raid>> getGroupings()
public java.util.List<RaidRegistry.Raid> getGroup(int stars)
stars
- Star level to get the raids of.public void addRaid(int stars, int species, java.lang.String form)
stars
- Star level of the new raid.species
- Dex number of the new raid.form
- Form name of the new raid.public void addRaid(int stars, RaidRegistry.Raid raid)
stars
- Star level of the new raid.raid
- The new raid.public void addRaids(int stars, java.util.Collection<RaidRegistry.Raid> raids)
stars
- Star level of the new raid.raids
- The new raids.