Created
June 25, 2014 16:23
-
-
Save whilb/7539a728b44d0c3df019 to your computer and use it in GitHub Desktop.
For you, wesley
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public List<UUID> masters; | |
private void createMasterList() { | |
this.masters = new ArrayList<UUID>(); | |
} | |
private List<UUID> getMasters() { | |
return this.masters; | |
} | |
public void addMaster(UUID player) { | |
getMasters().add(player); | |
} | |
public boolean isMaster(UUID player) { | |
return getMasters().contains(player); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment