diff options
author | Olivier Gayot <og@satcom1.com> | 2016-09-04 17:59:59 +0200 |
---|---|---|
committer | Olivier Gayot <og@satcom1.com> | 2016-09-04 18:00:35 +0200 |
commit | 3b3ed255a05eb0a0a3ed2886c010b952c1b1bd8c (patch) | |
tree | f08b104c4d62095835d1ab5a6332356b251bad01 /battle.h | |
parent | 0a58c87f21ec0717e17318528a7c252c9d0997e7 (diff) |
Signed-off-by: Olivier Gayot <og@satcom1.com>
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 */ |