Untitled
unknown
plain_text
3 years ago
331 B
12
Indexable
newRole.setColor(getColor());
newRole.complete();
}
}
// Give the roles a random color
public Color getColor() {
int R = (int)(Math.random()*255);
int G = (int)(Math.random()*255);
int B= (int)(Math.random()*255);
return new Color(R, G, B);
}Editor is loading...