working on the player
This commit is contained in:
1 parent
7beb263dfc
commit
0bfecbfb66
3 files changed
+22
-4
No files matched your search
@@ -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"
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user