Fixing bugs
This commit is contained in:
1 parent
0240721d46
commit
570f051281
5 files changed
+49
-9
No files matched your search
@@ -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)>;
|
||||
|
||||
Reference in new issue
Block a user