Guest User

Untitled

a guest
Feb 16th, 2014
41
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class BT2Arena {
  2.  
  3. //you want some info about the arena stored here
  4. public int id = 0;//the arena id
  5. public Location spawn = null;//spawn location for the arena
  6. List<String> players = new ArrayList<String>();//list of players
  7.  
  8. //now let's make a few getters/setters, and a constructor
  9. public BT2Arena(Location loc, int id){
  10. this.spawn = loc;
  11. this.id = id;
  12. }
  13.  
  14. public int getId(){
  15. return this.id;
  16. }
  17.  
  18. public List<String> getPlayers(){
  19. return this.players;
  20. }
  21. }
RAW Paste Data