]> git.localhorst.tv Git - l2e.git/blobdiff - src/common/GameState.h
added capsule wheel and table
[l2e.git] / src / common / GameState.h
index 1cd54282a345d2ab2ce8b4fb86ee44a512e1bfa5..4080630a21e84e79681c7a029dc8c5fa2bda8c0e 100644 (file)
@@ -1,13 +1,7 @@
-/*
- * GameState.h
- *
- *  Created on: Oct 7, 2012
- *      Author: holy
- */
-
 #ifndef COMMON_GAMESTATE_H_
 #define COMMON_GAMESTATE_H_
 
+#include "Capsule.h"
 #include "Hero.h"
 #include "Inventory.h"
 
@@ -20,9 +14,14 @@ 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;
 
        Uint32 money;