14 lines
356 B
C++
14 lines
356 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; }
|
|
|
|
void onUpdate(const sophia::FrameInfo& frameInfo) override {}
|
|
};
|
|
|
|
SOPHIA_MAIN(Testbed)
|