Spatial spatial = (Spatial) spatials.get(i);
Spatial spatial = spatials.get(i);
	public void doRender(Renderer renderer) {		// if there's nothing to do		if (spatials.size() == 0)			return;		// normal render		super.doRender(renderer);		// set up the render states		backupRenderStates();		CullState.setFlippedCulling(true);		Renderer.clearCurrentStates();		Renderer.enforceState(wireframeState);		Renderer.enforceState(noLights);		Renderer.enforceState(noTexture);		Renderer.enforceState(alphaState);		// this will draw the wireframe		for (int i = 0; i < spatials.size(); ++i) {			Spatial spatial = (Spatial) spatials.get(i);            spatial.onDraw(renderer);		}		renderer.renderQueue();		// restore the render states		restoreRenderStates();		CullState.setFlippedCulling(false);	}