Starting the player
This commit is contained in:
parent
420998231b
commit
7beb263dfc
|
@ -13,3 +13,4 @@ inventory.d
|
|||
player.d
|
||||
room.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);
|
||||
|
||||
};
|
Loading…
Reference in New Issue