Compare commits
2 Commits
0bfecbfb66
...
6a69ea5685
Author | SHA1 | Date |
---|---|---|
|
6a69ea5685 | |
|
3aee2fa468 |
|
@ -21,6 +21,7 @@ void Game::gameloop(){
|
|||
}
|
||||
|
||||
previous_time = chrono::steady_clock::now();
|
||||
exit(1);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,6 @@ class Inventory{
|
|||
|
||||
Inventory(){
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
};
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
|
||||
class Item(){
|
||||
class Item{
|
||||
|
||||
|
||||
};
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include "invertory.h"
|
||||
#include "inventory.h"
|
||||
#include "item.h"
|
||||
|
||||
|
||||
class Player{
|
||||
|
@ -6,8 +7,8 @@ class Player{
|
|||
void move();
|
||||
void add_inventory(Item);
|
||||
bool check_inventory(Item);
|
||||
bool remove_invertory(Item);
|
||||
bool remove_inventory(Item);
|
||||
|
||||
private:
|
||||
Invertory invertory;
|
||||
Inventory inventory;
|
||||
};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "player.h"
|
||||
#include "include/player.h"
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue