Screenshots with F9.
[sdlbotor.git] / Inventory.h
blob8d3b43067ad78c1bed0e89a32c214d1f24e07f4e
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 bool hasItem( const char *otype );
35 void Draw( Sint16 X, Sint16 Y );
41 #endif