From 9be8a6e4f6c35c1bbad3b8f6af7f223e584b8954 Mon Sep 17 00:00:00 2001 From: Nicola Mettifogo Date: Wed, 30 Sep 2009 13:41:19 +0000 Subject: Simplified inventory handling (too much information hiding will kill you). svn-id: r44485 --- engines/parallaction/inventory.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'engines/parallaction/inventory.h') diff --git a/engines/parallaction/inventory.h b/engines/parallaction/inventory.h index 11ebf57155..e4bb935672 100644 --- a/engines/parallaction/inventory.h +++ b/engines/parallaction/inventory.h @@ -101,12 +101,9 @@ protected: void refresh(); public: - InventoryRenderer(Parallaction *vm, InventoryProperties *props); + InventoryRenderer(Parallaction *vm, InventoryProperties *props, Inventory *inv); virtual ~InventoryRenderer(); - void bindInventory(Inventory *inv) { _inv = inv; } - Inventory *getBoundInventory() const { return _inv; } - void showInventory(); void hideInventory(); -- cgit v1.2.3