Untitled
unknown
plain_text
2 years ago
331 B
2
Indexable
Never
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); }