xrbDS/include/xrbds/core/engine.h
Daniel Ramírez b9ee14cc40 Create CMake solution
Some basic folder structure
2025-04-17 03:32:24 +02:00

29 lines
467 B
C++

#ifndef XRBDS_CORE_ENGINE_H
#define XRBDS_CORE_ENGINE_H
#include <string>
class Engine {
public:
Engine();
~Engine();
// Initialize the engine
bool initialize(const std::string &title, int width, int height);
// Run the main game loop
void run();
// Shutdown the engine
void shutdown();
private:
bool isRunning;
// Internal methods for the game loop
void processInput();
void update();
void render();
};
#endif // XRBDS_CORE_ENGINE_H