Compare commits
4
Commits
0bfecbfb66
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
639b43e5c7 | ||
|
|
c6d22f9d8f | ||
|
|
6a69ea5685 | ||
|
|
3aee2fa468 |
No files matched your search
File renamed without changes.
@@ -21,6 +21,7 @@ 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
-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;
|
||||||
};
|
};
|
||||||
+2
-2
@@ -4,8 +4,8 @@ int main (){
|
|||||||
system("clear");
|
system("clear");
|
||||||
Title::mainTitle();
|
Title::mainTitle();
|
||||||
Intro::mainIntro();
|
Intro::mainIntro();
|
||||||
Game game;
|
//Game game;
|
||||||
game.gameloop();
|
//game.gameloop();
|
||||||
cin.get();
|
cin.get();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
#include "player.h"
|
#include "include/player.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in new issue
Block a user