Example #1
0
void UINode::render (int x, int y) const
{
	if (!isVisible())
		return;
	renderBack(x, y);
	renderMiddle(x, y);
	renderTop(x, y);
}
Example #2
0
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);
}