2018-09-04 19:25:54 +00:00
|
|
|
#pragma once
|
|
|
|
#include "Application.h"
|
|
|
|
|
|
|
|
#include "MySimpleScene.h"
|
|
|
|
|
|
|
|
class MyApplication :
|
|
|
|
public Application
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
MyApplication(const char* class_name, HINSTANCE h_instance);
|
|
|
|
~MyApplication();
|
|
|
|
|
2018-09-05 15:47:09 +00:00
|
|
|
void init() override;
|
2018-09-04 19:25:54 +00:00
|
|
|
|
|
|
|
void update(float delta_time, clock_t clock) override;
|
|
|
|
|
|
|
|
void render() override;
|
|
|
|
|
|
|
|
void close() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
MySimpleScene m_scene;
|
|
|
|
};
|
|
|
|
|