/** * @see org.newdawn.slick.BasicGame#init(org.newdawn.slick.GameContainer) */ public void init(GameContainer container) throws SlickException { container.getGraphics().setBackground(Color.white); curve = new Curve(p2,c2,c1,p1); poly = new Polygon(); poly.addPoint(500,200); poly.addPoint(600,200); poly.addPoint(700,300); poly.addPoint(400,300); }