minor adjustments

This commit is contained in:
h4570
2023-05-28 22:55:42 +02:00
parent 20d2291a88
commit cab934763f
10 changed files with 299 additions and 271 deletions
@@ -6,19 +6,18 @@
# Copyright 2022-2023, tyra - https://github.com/h4570/tyra
# Licensed under Apache License 2.0
# Guido Diego Quispe Robles
# Sandro Sobczyński <sandro.sobczynski@gmail.com>
*/
#pragma once
#include <tyra>
#include "fontSprite.hpp"
#include "font_sprite.hpp"
namespace Tyra {
class Tutorial10 : public Game {
public:
Tutorial10(Engine* engine);
explicit Tutorial10(Engine* engine);
~Tutorial10();
void init();
@@ -27,7 +26,9 @@ class Tutorial10 : public Game {
private:
void loadTexture();
void loadSprite();
void handlePad();
int padTimer;
Engine* engine;
Pad* pad;
Font font;
@@ -35,8 +36,8 @@ class Tutorial10 : public Game {
Sprite sprite;
Sprite spriteFlip;
Sprite spriteScale;
Sprite spriteStrech;
std::string str_filter;
Sprite spriteStretch;
std::string strFilter;
PipelineTextureMappingType textureFilter;
};