30 lines
407 B
C++
30 lines
407 B
C++
//
|
|
// Created by sfd on 25-11-15.
|
|
//
|
|
|
|
|
|
#include "Prism.h"
|
|
#include "Prism/Core/EntryPoint.h"
|
|
|
|
#include "Layer/TestLayer.h"
|
|
|
|
class Sandbox : public Prism::Application
|
|
{
|
|
public:
|
|
Sandbox()
|
|
{
|
|
}
|
|
|
|
virtual void OnInit() override
|
|
{
|
|
PushLayer(new TestLayer());
|
|
// PushLayer(new DemoLayer());
|
|
}
|
|
};
|
|
|
|
|
|
Prism::Application* Prism::CreateApplication()
|
|
{
|
|
return new Sandbox();
|
|
}
|