X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcommon%2FGameState.h;h=4080630a21e84e79681c7a029dc8c5fa2bda8c0e;hb=6dff93b1a6e9b727dbe26747456f4b23efca86da;hp=4e2570d8fb8ea90c336169cb8e6a6b1c2ebf161e;hpb=9666839d0ca6c794d28226a007870c82ef4ddb20;p=l2e.git diff --git a/src/common/GameState.h b/src/common/GameState.h index 4e2570d..4080630 100644 --- a/src/common/GameState.h +++ b/src/common/GameState.h @@ -14,10 +14,12 @@ struct GameState { GameState(); Hero heroes[7]; + int NumHeroes() const { return 7; } Hero *party[4]; int partySize; Capsule capsules[7]; + int NumCapsules() const { return 7; } Capsule *capsule; Inventory inventory;