summaryrefslogtreecommitdiff
path: root/battle.h
blob: 962f4b31e3bfff85db1e6c4c9e36d5f736e173e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 */