Starting the player
This commit is contained in:
1 parent
420998231b
commit
7beb263dfc
3 files changed
+17
No files matched your search
@@ -13,3 +13,4 @@ inventory.d
|
|||||||
player.d
|
player.d
|
||||||
room.d
|
room.d
|
||||||
wall.d
|
wall.d
|
||||||
|
item.d
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
class Item(){
|
||||||
|
|
||||||
|
|
||||||
|
};
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class Player{
|
||||||
|
public:
|
||||||
|
void move();
|
||||||
|
void add_inventory(Item item);
|
||||||
|
bool check_inventory(Item item);
|
||||||
|
|
||||||
|
};
|
||||||
Reference in new issue
Block a user