charcoal/Example/MyBuiltinImageScene.h
elipzer 7cbe8acf30 Libraries Work!
Now the code is being compiled through .lib files!
2018-10-11 01:26:24 -04:00

21 lines
498 B
C++

#pragma once
#include <charcoal/ImageLoader.h>
#include <charcoal-builtin/ImageScene.h>
#include <charcoal-builtin/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;
};