Untitled
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); }