Big code changes

This commit is contained in:
2026-08-23 20:46:09 -07:00
parent 7243e13df5
commit 0cb0628101
25 changed files with 1645 additions and 227 deletions
+35
View File
@@ -0,0 +1,35 @@
#pragma once
#include <string>
#include "device.hpp"
#include "window.hpp"
namespace sophia {
class Engine {
public:
struct Config {
int width;
int height;
std::string name;
};
Engine(const Engine&) = delete;
Engine& operator=(const Engine&) = delete;
Engine(const Config& config);
~Engine();
void run();
private:
Config config;
Window window;
Device device;
bool isRunning = true;
};
} // namespace sophia