Made lua run under MSWin with Dev-Cpp 4.9.9.2
[sdlbotor.git] / Inventory.h
blob86d5ba6b8bce5a1c7bae8af9d0428c3f57dfcc7f
1 #ifndef INVENTORY_H
2 #define INVENTORY_H
4 #include <vector>
6 #include "sdlinclude.h"
8 namespace botor
11 class Object;
13 struct invent_t
15 Object *obj;
16 unsigned int count;
19 class Inventory
21 std::vector<invent_t> invent;
23 typedef std::vector<invent_t>::iterator invElement;
25 public:
27 //Inventory();
29 void addObject( Object *o );
30 Object* removeObject( invElement i );
31 Object* removeObject( );
33 void Draw( Sint16 X, Sint16 Y );
39 #endif