public void preRender(StateBasedGame game, GameContainer container,
			Graphics g) throws SlickException {
		if (moveBackDone) {
			g.translate(xp1,yp1);
			g.scale(scale1, scale1);
			g.setClip((int) xp1,(int) yp1,(int) (scale1*container.getWidth()),(int) (scale1*container.getHeight()));
			prev.render(container, game, g);
			g.resetTransform();
			g.clearClip();
		}
		
		g.translate(xp2,yp2);
		g.scale(scale2, scale2);
		g.setClip((int) xp2,(int) yp2,(int) (scale2*container.getWidth()),(int) (scale2*container.getHeight()));
	}
public void preRender ( StateBasedGame game , GameContainer container , Graphics g ) throws SlickException { if ( moveBackDone ) { g . translate ( xp1 , yp1 ) ; g . scale ( scale1 , scale1 ) ; g . setClip ( ( int ) xp1 , ( int ) yp1 , ( int ) ( scale1 * container . getWidth ( ) ) , ( int ) ( scale1 * container . getHeight ( ) ) ) ; prev . render ( container , game , g ) ; g . resetTransform ( ) ; g . clearClip ( ) ; } g . translate ( xp2 , yp2 ) ; g . scale ( scale2 , scale2 ) ; g . setClip ( ( int ) xp2 , ( int ) yp2 , ( int ) ( scale2 * container . getWidth ( ) ) , ( int ) ( scale2 * container . getHeight ( ) ) ) ; }
@see org.newdawn.slick.state.transition.Transition#preRender(org.newdawn.slick.state.StateBasedGame, org.newdawn.slick.GameContainer, org.newdawn.slick.Graphics)