Working on viewing distance for enemies

This commit is contained in:
Vladislav Khorev committed 2026-07-12 19:09:26 +03:00
1 parent 33c2b313af
commit 38e45d67b8
6 files changed
+17 -5

No files matched your search

+4
View File
@@ -10,6 +10,8 @@
namespace ZL {
constexpr float VISIBLE_RANGE = 6.f;
enum class AnimationState {
STAND = 0,
WALK = 1,
@@ -70,6 +72,8 @@ public:
float hp = 200.f;
float initialHp = 200.f;
float visibleRange = VISIBLE_RANGE;
// --- Combat flags ---
int battle_state = 0;
bool resetAnim = false;