Package com.booksaw.betterTeams.team
Class AllySetComponent
java.lang.Object
com.booksaw.betterTeams.team.SetTeamComponent<UUID>
com.booksaw.betterTeams.team.UuidSetComponent
com.booksaw.betterTeams.team.AllySetComponent
- All Implemented Interfaces:
TeamComponent<Set<UUID>>
-
Field Summary
Fields inherited from class com.booksaw.betterTeams.team.SetTeamComponent
set -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidUsed to add a component to this component listvoidload(TeamStorage section) Load the value stored in the config into this componentvoidUsed to remove a component from this component listvoidsave(TeamStorage storage) Store the loaded value to the configuration sectionMethods inherited from class com.booksaw.betterTeams.team.UuidSetComponent
fromString, toStringMethods inherited from class com.booksaw.betterTeams.team.SetTeamComponent
clear, contains, get, getClone, getConvertedList, isEmpty, load, set, size
-
Constructor Details
-
AllySetComponent
public AllySetComponent()
-
-
Method Details
-
getSectionHeading
- Specified by:
getSectionHeadingin classSetTeamComponent<UUID>- Returns:
- The reference within the team storage where the data is stored
-
add
Description copied from class:SetTeamComponentUsed to add a component to this component list- Overrides:
addin classSetTeamComponent<UUID>- Parameters:
team- the player's teamally- The component to add
-
remove
Description copied from class:SetTeamComponentUsed to remove a component from this component list- Overrides:
removein classSetTeamComponent<UUID>- Parameters:
team- The playe's teamcomponent- The component to remove
-
load
Description copied from interface:TeamComponentLoad the value stored in the config into this component- Parameters:
section- The configuration section where all the team data is stored
-
save
Description copied from interface:TeamComponentStore the loaded value to the configuration section- Parameters:
storage- The storage class where all team storage takes place
-