add SandboxEmbed

This commit is contained in:
2026-02-15 23:56:24 -06:00
parent 2899932f7f
commit c25ed1949d
4 changed files with 155 additions and 1 deletions

View File

@@ -0,0 +1,29 @@
#define ENTRYPOINT
#include "Archimedes.h"
#include "modules/Archimedes-Modules/Sandbox/Sandbox.h"
class SandboxEmbed : public Archimedes::App {
private:
void printHelp() override {};
bool onEvent(const Archimedes::Event&) override;
public:
SandboxEmbed() {
Archimedes::Module* m = (Archimedes::Module*) new Sandbox(Get(), nullptr);
load(m);
};
~SandboxEmbed() {};
void handleArgs(const int& argc, char* argv[]) override {};
void run() override;
};
#define APP_TYPE SandboxEmbed
#include "endApp.h"