25 lines
370 B
C++
25 lines
370 B
C++
#pragma once
|
|
#include "Application.h"
|
|
|
|
#include "MySimpleScene.h"
|
|
|
|
class MyApplication :
|
|
public Application
|
|
{
|
|
public:
|
|
MyApplication(const char* class_name, HINSTANCE h_instance);
|
|
~MyApplication();
|
|
|
|
bool init() override;
|
|
|
|
void update(float delta_time, clock_t clock) override;
|
|
|
|
void render() override;
|
|
|
|
void close() override;
|
|
|
|
private:
|
|
MySimpleScene m_scene;
|
|
};
|
|
|