diff options
Diffstat (limited to 'src/party.h')
-rw-r--r-- | src/party.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/party.h b/src/party.h new file mode 100644 index 0000000..18c57b5 --- /dev/null +++ b/src/party.h | |||
@@ -0,0 +1,23 @@ | |||
1 | #ifndef PARTY_H_826F91BA | ||
2 | #define PARTY_H_826F91BA | ||
3 | |||
4 | #include <vector> | ||
5 | #include "game.h" | ||
6 | |||
7 | class Party { | ||
8 | public: | ||
9 | |||
10 | void addMember(int spriteId); | ||
11 | |||
12 | void move(Game& game, const Input& keystate); | ||
13 | |||
14 | private: | ||
15 | |||
16 | struct PartyMember { | ||
17 | int spriteId; | ||
18 | }; | ||
19 | |||
20 | std::vector<PartyMember> members_; | ||
21 | }; | ||
22 | |||
23 | #endif /* end of include guard: PARTY_H_826F91BA */ | ||