Добавлена система NPC, а также боевая система.

This commit is contained in:
DeLiss
2026-06-11 12:45:30 +05:00
parent 5d4940f754
commit f0a928938b
19 changed files with 427 additions and 19 deletions

View File

@@ -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;