18 lines
385 B
C++
18 lines
385 B
C++
#include <iostream>
|
|
#include <sophia/application.hpp>
|
|
|
|
class Testbed : public sophia::Application {
|
|
public:
|
|
Testbed() : Application{{.width = 750, .height = 1000, .name = "Testbed"}} {}
|
|
|
|
void onCreate() override {
|
|
std::cout << "Testbed created" << std::endl;
|
|
|
|
debugUI().show();
|
|
}
|
|
|
|
void onUpdate(const sophia::FrameInfo& frameInfo) override {}
|
|
};
|
|
|
|
SOPHIA_MAIN(Testbed)
|