Fixing bugs

This commit is contained in:
Vladislav Khorev committed 2026-10-27 20:24:33 +06:00
1 parent 0240721d46
commit 570f051281
5 files changed
+49 -9

No files matched your search

+2
View File
@@ -20,6 +20,8 @@ class TextRenderer;
class Character {
public:
static constexpr float kAttackRange = 1.25f;
// Resolves a character index to a live Character pointer.
// kNoTarget (-1) → nullptr, kPlayerIndex (-2) → Location::player, 0..n → npcs[n].
using CharacterResolver = std::function<Character*(int index)>;