fixed typo issues and added some headers
This commit is contained in:
1 parent
0bfecbfb66
commit
3aee2fa468
4 files changed
+8
-7
No files matched your search
@@ -6,6 +6,6 @@ class Inventory{
|
|||||||
|
|
||||||
Inventory(){
|
Inventory(){
|
||||||
|
|
||||||
}
|
};
|
||||||
|
|
||||||
}
|
};
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
|
|
||||||
class Item(){
|
class Item{
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
#include "invertory.h"
|
#include "inventory.h"
|
||||||
|
#include "item.h"
|
||||||
|
|
||||||
|
|
||||||
class Player{
|
class Player{
|
||||||
@@ -6,8 +7,8 @@ class Player{
|
|||||||
void move();
|
void move();
|
||||||
void add_inventory(Item);
|
void add_inventory(Item);
|
||||||
bool check_inventory(Item);
|
bool check_inventory(Item);
|
||||||
bool remove_invertory(Item);
|
bool remove_inventory(Item);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Invertory invertory;
|
Inventory inventory;
|
||||||
};
|
};
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
#include "player.h"
|
#include "include/player.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in new issue
Block a user