aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/objects/inventory.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pink/objects/inventory.h')
-rw-r--r--engines/pink/objects/inventory.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/pink/objects/inventory.h b/engines/pink/objects/inventory.h
index 8cb4f0aba9..b8de36b8b4 100644
--- a/engines/pink/objects/inventory.h
+++ b/engines/pink/objects/inventory.h
@@ -23,14 +23,12 @@
#ifndef PINK_INVENTORY_H
#define PINK_INVENTORY_H
-#include "common/array.h"
#include "common/rect.h"
-#include "pink/objects/object.h"
+#include "pink/utils.h"
namespace Pink {
-
class InventoryItem : public NamedObject {
public:
virtual void deserialize(Archive &archive);
@@ -77,8 +75,7 @@ private:
void showNextItem(bool direction);
- InventoryItem *_item;
- Common::Array<InventoryItem*> _items;
+
LeadActor *_lead;
Actor *_window;
@@ -86,6 +83,9 @@ private:
Actor *_rightArrow;
Actor *_leftArrow;
+ InventoryItem *_item;
+ Array<InventoryItem*> _items;
+
enum State {
kIdle = 0,
kOpening = 1,