Working LUA + objects + etc. :) :) :)
[sdlbotor.git] / Inventory.h
blob5cc58bf11312b388f525235dbe47ddd09f48e880
1 #ifndef INVENTORY_H
2 #define INVENTORY_H
4 #include <vector>
5 #include "Object.h"
7 namespace botor
10 class Object;
12 struct invent_t
14 Object *obj;
15 unsigned int count;
18 class Inventory
20 std::vector<invent_t> invent;
22 typedef std::vector<invent_t>::iterator invElement;
24 public:
26 //Inventory();
28 void addObject( Object *o );
29 Object* removeObject( invElement i );
30 Object* removeObject( );
32 void Draw( Sint16 X, Sint16 Y );
38 #endif