Working on viewing distance for enemies
This commit is contained in:
1 parent
33c2b313af
commit
38e45d67b8
6 files changed
+17
-5
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user