masses/source/Sprite2D.h
2024-12-21 14:08:37 +01:00

15 lines
255 B
C

#ifndef SPRITE2D_H
#define SPRITE2D_H
#include "raylib.h"
typedef struct Sprite2D {
Texture2D * texture;
int width;
int height;
} Sprite2D;
extern void DrawSprite2D(const Sprite2D sprite, int frame, int posX, int posY, Color tint);
#endif