summaryrefslogtreecommitdiff
path: root/target.h
blob: 32e9c49e994a1af729ffeb6fde4f434adb2c79fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef TARGET_H
#define TARGET_H

#include <stdbool.h>
#include "players.h"

struct target_t {
    bool is_chr;

    union {
        struct team_t *team;
        struct chr_t *chr;
    };
};

#endif /* TARGET_H */