light/Sandbox/src/SandboxApp.cpp
2021-05-27 10:41:32 +04:30

24 lines
No EOL
366 B
C++

#include <LightEngine.h>
#include "SandboxLayer.h"
class Sandbox : public Light::Application
{
public:
Sandbox()
{
LT_CLIENT_TRACE("Sandbox::Sandbox");
Light::LayerStack::AttachLayer(new SandboxLayer("SandboxLayer"));
}
~Sandbox()
{
LT_CLIENT_TRACE("Sandbox::~Sandbox");
}
};
Light::Application* Light::CreateApplication()
{
return new Sandbox();
}