Files
tyra-linux/tutorials/10-sprite-sheet/inc/tutorial_10.hpp
T
Guido Diego Quispe Robles fbcb38d37a tutorial 10
2023-05-26 18:04:23 -03:00

35 lines
621 B
C++

/*
# _____ ____ ___
# | \/ ____| |___|
# | | | \ | |
#-----------------------------------------------------------------------
# Copyright 2022, tyra - https://github.com/h4570/tyra
# Licensed under Apache License 2.0
# Sandro Sobczyński <sandro.sobczynski@gmail.com>
*/
#pragma once
#include <tyra>
namespace Tyra {
class Tutorial10 : public Game {
public:
Tutorial10(Engine* engine);
~Tutorial10();
void init();
void loop();
private:
void loadTexture();
void loadSprite();
Engine* engine;
Sprite sprite;
};
} // namespace Tyra