Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class BT2Arena {
- //you want some info about the arena stored here
- public int id = 0;//the arena id
- public Location spawn = null;//spawn location for the arena
- List<String> players = new ArrayList<String>();//list of players
- //now let's make a few getters/setters, and a constructor
- public BT2Arena(Location loc, int id){
- this.spawn = loc;
- this.id = id;
- }
- public int getId(){
- return this.id;
- }
- public List<String> getPlayers(){
- return this.players;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement