Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void drawScreen(int x, int y) {
- double dc = Math.random();
- if ((int) Math.random() * 2 == 0) {
- dc *= Integer.MIN_VALUE;
- } else {
- dc *= Integer.MAX_VALUE;
- }
- int color = (int) dc;
- Gui.drawRect(0, 0, mc.displayWidth, mc.displayHeight, color);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement