summaryrefslogtreecommitdiff
path: root/target.h
blob: 941b1f680546d4958da9c87265fa19fe5b9d5b91 (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 character_t *chr;
    };
};

#endif /* TARGET_H */