working on the player
This commit is contained in:
parent
7beb263dfc
commit
0bfecbfb66
|
@ -0,0 +1,11 @@
|
|||
|
||||
|
||||
|
||||
class Inventory{
|
||||
public:
|
||||
|
||||
Inventory(){
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -1,10 +1,13 @@
|
|||
|
||||
#include "invertory.h"
|
||||
|
||||
|
||||
class Player{
|
||||
public:
|
||||
void move();
|
||||
void add_inventory(Item item);
|
||||
bool check_inventory(Item item);
|
||||
|
||||
void add_inventory(Item);
|
||||
bool check_inventory(Item);
|
||||
bool remove_invertory(Item);
|
||||
|
||||
private:
|
||||
Invertory invertory;
|
||||
};
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#include "player.h"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue