43 lines
826 B
C++
43 lines
826 B
C++
//
|
|
// Created by Jimmy Tremblay-bernier on 2024-11-22.
|
|
//
|
|
|
|
#include "Demo1.h"
|
|
#include "ConjureEngine/ConjureEngine.h"
|
|
|
|
static ConjureEngine::ApplicationInfo appInfo = ConjureEngine::ApplicationInfo
|
|
{
|
|
"Demo1",
|
|
ConjureEngine::WindowInfo {
|
|
0,
|
|
0,
|
|
1920,
|
|
1080
|
|
}
|
|
};
|
|
|
|
namespace Demo1 {
|
|
Demo1::Demo1(): ConjureEngine::Application(appInfo) {}
|
|
|
|
void Demo1::Awake()
|
|
{
|
|
SDL_LogDebug(SDL_LOG_CATEGORY_APPLICATION,"AWAKING");
|
|
}
|
|
|
|
void Demo1::Start()
|
|
{
|
|
SDL_LogDebug(SDL_LOG_CATEGORY_APPLICATION,"STARTING");
|
|
}
|
|
|
|
void Demo1::Tick(double deltaTime)
|
|
{
|
|
SDL_LogDebug(SDL_LOG_CATEGORY_APPLICATION, "TICKING %f", deltaTime);
|
|
}
|
|
|
|
void Demo1::Destroy()
|
|
{
|
|
SDL_LogDebug(SDL_LOG_CATEGORY_APPLICATION,"DESTROYING");
|
|
}
|
|
|
|
} // Demo1
|