g.setColor(Color.BLACK);
break;
case U:
- g.setColor(Color.BLUE);
+ g.setColor(Color.MAGENTA);
break;
default:
throw new IllegalArgumentException();
gt.repaint(12);
try
{
- Thread.sleep(Math.max(16 - System.currentTimeMillis() + lastFrame, 0));
+ Thread.sleep(Math.max(updateT - System.currentTimeMillis() + lastFrame, 0));
}
catch (Exception e)
{