summaryrefslogtreecommitdiff
path: root/target.h
diff options
context:
space:
mode:
Diffstat (limited to 'target.h')
-rw-r--r--target.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/target.h b/target.h
new file mode 100644
index 0000000..941b1f6
--- /dev/null
+++ b/target.h
@@ -0,0 +1,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 */