You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#ifndef SPRITE_H_
|
|
#define SPRITE_H_
|
|
#include "raylib.h"
|
|
|
|
typedef struct Sprite {
|
|
Texture2D *texture;
|
|
float x;
|
|
float y;
|
|
float destX;
|
|
float destY;
|
|
int hasDestination;
|
|
} Sprite;
|
|
|
|
void SpriteAdd(struct Sprite *cursors, int *j, Texture2D *texture, int x, int y);
|
|
|
|
#endif
|