Compare commits
No commits in common. "6a69ea5685de319ee94f9a64f266858e24fd77c3" and "0bfecbfb660bf74137b2ab589bed8843a9f3a10d" have entirely different histories.
6a69ea5685
...
0bfecbfb66
|
@ -21,7 +21,6 @@ void Game::gameloop(){
|
||||||
}
|
}
|
||||||
|
|
||||||
previous_time = chrono::steady_clock::now();
|
previous_time = chrono::steady_clock::now();
|
||||||
exit(1);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,6 @@ class Inventory{
|
||||||
|
|
||||||
Inventory(){
|
Inventory(){
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
|
|
||||||
class Item{
|
class Item(){
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#include "inventory.h"
|
#include "invertory.h"
|
||||||
#include "item.h"
|
|
||||||
|
|
||||||
|
|
||||||
class Player{
|
class Player{
|
||||||
|
@ -7,8 +6,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_inventory(Item);
|
bool remove_invertory(Item);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Inventory inventory;
|
Invertory invertory;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include "include/player.h"
|
#include "player.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue