public void setAnimState(AnimState state) {
		if (state != null) resetAnimState();
		
		getPrivates();
		stateColor = g.getColor();
		stateNew = new AnimState(state);
		
		g.setColor(state.color); state.color.bind();
		if (state.pos.x != 0 || state.pos.y != 0) g.translate(-state.pos.x,-state.pos.y);
		if (state.angle != 0) gl.glRotatef(-state.angle,0f,0f,1f);
		if (state.scaleH != 1 || state.scaleV != 1) g.scale(1f/state.scaleH,1f/state.scaleV);
	}