public class IslandLevel extends Object implements Comparable<IslandLevel>
Constructor and Description |
---|
IslandLevel(String islandName,
String leaderName,
List<String> members,
double score) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(IslandLevel o) |
boolean |
equals(Object o) |
String |
getIslandName()
Returns a logical name of the island on the form
x,y |
String |
getLeaderName()
Returns the display-name of the island-leader.
|
List<String> |
getMembers()
Returns a comma-separated list of members, with parenthesis around, or the empty string.
|
double |
getScore()
Returns the score of the island.
|
int |
hashCode() |
public String getIslandName()
x,y
public String getLeaderName()
§9[Own]§f R4zorax
public List<String> getMembers()
(R4zorax, dutchy1001)
public double getScore()
public int compareTo(IslandLevel o)
compareTo
in interface Comparable<IslandLevel>
Copyright © 2016. All rights reserved.