Rand rename
This commit is contained in:
@@ -36,12 +36,12 @@ public class Team implements Comparable<Team>{
|
||||
blue = new Team(5, "blue", Color.royal.cpy());
|
||||
|
||||
static{
|
||||
Mathf.random.setSeed(8);
|
||||
Mathf.rand.setSeed(8);
|
||||
//create the whole 256 placeholder teams
|
||||
for(int i = 6; i < all.length; i++){
|
||||
new Team(i, "team#" + i, Color.HSVtoRGB(360f * Mathf.random(), 100f * Mathf.random(0.6f, 1f), 100f * Mathf.random(0.8f, 1f), 1f));
|
||||
}
|
||||
Mathf.random.setSeed(new Rand().nextLong());
|
||||
Mathf.rand.setSeed(new Rand().nextLong());
|
||||
}
|
||||
|
||||
public static Team get(int id){
|
||||
|
||||
Reference in New Issue
Block a user