Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Errored Line:
- for (Player p : race.getPlayers()) {
- // getPlayers() Method (In the Race constructor):
- public ArrayList<Player> getPlayers() {
- return GameManager.raceData.get(this);
- }
- // raceData Map (In the GameManager class):
- public static HashMap<Race, ArrayList<Player>> raceData = new HashMap<Race, ArrayList<Player>>();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement