breakhack/src/player.h

21 lines
354 B
C
Raw Normal View History

2017-11-30 21:00:47 +01:00
#ifndef PLAYER_H_
#define PLAYER_H_
#include <SDL2/SDL.h>
#include "sprite.h"
#include "stats.h"
2017-11-30 21:00:47 +01:00
enum PlayerClass { ENGINEER, MAGE, PALADIN, ROGUE, WARRIOR };
typedef enum PlayerClass class_t;
typedef struct {
Sprite *sprite;
Stats stats;
} Player;
Player* player_create(class_t, SDL_Renderer*);
void player_destroy(Player*);
2017-11-30 21:00:47 +01:00
#endif // PLAYER_H_