pacman/lib/Sprite.hpp
Patricia Aas 68f63f3f66
Canvas rewrite (#6)
* Beginning rewrite

* Move all constants to canvas, wire sprite handling code

* Make Sprite a struct and reformat

* Fix warning

Co-authored-by: Corentin Jabot <corentinjabot@gmail.com>
2021-06-16 12:52:04 +02:00

9 lines
116 B
C++

#pragma once
#include <SDL2/SDL.h>
#include <memory>
struct Sprite {
SDL_Texture * texture;
SDL_Rect rect;
};