void UINode::render (int x, int y) const { if (!isVisible()) return; renderBack(x, y); renderMiddle(x, y); renderTop(x, y); }
void Cell::render(tileCamera& cam, float viewX, float viewY, dynamicMultilayerMap* map, window* win) { renderBottom(cam, viewX, viewY, map, win); renderMiddle(cam, viewX, viewY, map, win); renderTop(cam, viewX, viewY, map, win); }