diff options
Diffstat (limited to 'battle.h')
-rw-r--r-- | battle.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/battle.h b/battle.h new file mode 100644 index 0000000..962f4b3 --- /dev/null +++ b/battle.h @@ -0,0 +1,17 @@ +#ifndef BATTLE_H +#define BATTLE_H + +#include "players.h" + +struct battle_t { + struct team_t *t1; + struct team_t *t2; + + SDL_Surface *background; +}; + +int battle_init(struct battle_t *battle, struct team_t *t1, struct team_t *t2); +int battle_run(struct battle_t *battle); +void battle_close(struct battle_t *battle); + +#endif /* BATTLE_H */ |