SHARE
TWEET

Untitled

a guest May 26th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package net.claymc;
  2.  
  3. import java.util.ArrayList;
  4.  
  5. import org.bukkit.entity.Player;
  6.  
  7. public class TeamAPI {
  8.    
  9.     private String name,colorcode, link;
  10.     private int ID;
  11.     private ArrayList<Player> players = new ArrayList<>();
  12.    
  13.     public TeamAPI(String name, String colorcode, int ID, String link) {
  14.         this.name = name;
  15.         this.colorcode = colorcode;
  16.         this.ID = ID;
  17.         this.link = link;
  18.     }
  19.    
  20.     public String getColorcode() {
  21.         return colorcode;
  22.     }
  23.    
  24.     public int getID() {
  25.         return ID;
  26.     }
  27.    
  28.     public String getLink() {
  29.         return link;
  30.     }
  31.    
  32.     public String getName() {
  33.         return name;
  34.     }
  35.    
  36.     public ArrayList<Player> getPlayers() {
  37.         return players;
  38.     }
  39.    
  40.     public TeamAPI getObject() {
  41.         return this;
  42.     }
  43.    
  44.  
  45. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top