4546474849505152
graphics.translate(-cameraSystem.getStartX(), -cameraSystem.getStartY()); } @Override protected void process(Entity e) { Spatial spatial = spatials.get(e.getId()); spatial.render(graphics); }
5657585960616263646566
graphics.resetTransform(); } @Override protected void added(Entity e) { Spatial spatial = getSpatial(e); if (spatial != null) { spatial.initalize(); spatials.set(e.getId(), spatial); } }