charcoal/Example/MyBuiltinImageScene.h
elipzer 5db5ce971c Probably BREAKING - Moved everything into proper directories
Also added a copy pre-build even for .h files into the include
directory for charcoal and charcoal-builtin
2018-10-10 23:56:39 -04:00

22 lines
456 B
C++

#pragma once
#include "ImageLoader.h"
#include "ImageScene.h"
#include "BuiltinCamera2D.h"
using namespace charcoal;
using namespace charcoal::builtin;
class MyBuiltinImageScene : public image::Scene
{
public:
MyBuiltinImageScene(Application& application);
void update(float delta_time, clock_t clock) override;
private:
image_loader::ImageRGBA m_image;
image::Renderable m_image_renderable;
builtin::Camera2D m_camera;
image::Batch& m_batch;
};