#include "common.hpp" int main() { sf::RenderWindow window(sf::VideoMode(800, 600), "SFML"); world::world_t world; interface::state_t interface(&window, &world); window.setVerticalSyncEnabled(true); while (1) { interface.tick(); if (!window.isOpen()) break; window.clear(); world.render(&window); interface.render(); window.display(); } return 0; }