/** * @see org.newdawn.slick.BasicGame#init(org.newdawn.slick.GameContainer) */ public void init(final GameContainer container) throws SlickException { operations = new Runnable() { public void run() { for (int i=0;i<100;i++) { int c = i+100; container.getGraphics().setColor(new Color(c,c,c,c)); container.getGraphics().drawOval((i*5)+50,(i*3)+50,100,100); } } }; cached = new CachedRender(operations); }