15 lines
255 B
C
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
|