From b4038deb223e309fe886c71b3765a7e82e65f9bb Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 9 Jan 2015 21:05:46 +0100 Subject: handle the different type of targets Signed-off-by: Olivier Gayot --- target.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 target.h (limited to 'target.h') 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 +#include "players.h" + +struct target_t { + bool is_chr; + + union { + struct team_t *team; + struct character_t *chr; + }; +}; + +#endif /* TARGET_H */ -- cgit v1.2.3