#include "WindowModule.h" WindowModule::WindowModule(void* h, App& a) : Module(h, a) { name = "Window"; } WindowModule::~WindowModule() {} void WindowModule::run() { if(window.shouldClose()) { app.stopModule(self); } window.doFrame(); }