13 lines
161 B
C++
13 lines
161 B
C++
#ifndef SPRITE_HPP
|
|
#define SPRITE_HPP
|
|
|
|
#include <SDL2/SDL_render.h>
|
|
|
|
typedef struct {
|
|
SDL_Texture *texture;
|
|
int width;
|
|
int height;
|
|
} Sprite;
|
|
|
|
#endif
|