Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package fr.src.gc;
- import java.util.ArrayList;
- import org.bukkit.ChatColor;
- import org.bukkit.entity.Player;
- public class GroupGeneral {
- public ChatColor GroupColor;
- public ArrayList<Player> Players;
- public String GroupName;
- public GroupGeneral(ChatColor GroupColor, ArrayList<Player> Players, String GroupName)
- {
- this.GroupColor = GroupColor;
- this.Players = Players;
- this.GroupName = GroupName;
- }
- public ChatColor getGroupColor()
- {
- return GroupColor;
- }
- public ArrayList<Player> getGroupPlayers()
- {
- return Players;
- }
- public String getGroupName()
- {
- return GroupName;
- }
- public void AddPlayer(Player player)
- {
- Players.add(player);
- }
- public void RemovePlayer(Player player)
- {
- Players.remove(player);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment