Добавлена система NPC, а также боевая система.
This commit is contained in:
@@ -2,10 +2,8 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
struct Point {
|
||||
int x = 0;
|
||||
int y = 0;
|
||||
};
|
||||
#include "Point.h"
|
||||
#include "NPC.h"
|
||||
|
||||
struct Chest {
|
||||
Point pos;
|
||||
@@ -19,11 +17,6 @@ struct Enemy {
|
||||
int hp = 50;
|
||||
};
|
||||
|
||||
struct NPC {
|
||||
Point pos;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
struct Riddle {
|
||||
int type = 0;
|
||||
std::string text;
|
||||
|
||||
Reference in New Issue
Block a user