authority/modules/authority/player_character.h
2026-01-18 23:26:41 +01:00

21 lines
475 B
C++

#pragma once
#include "authority/character.h"
#include "authority/macros.h"
#include "authority/nav_marker.h"
class PlayerCharacter : public Character {
GDCLASS(PlayerCharacter, Character);
static void _bind_methods();
protected:
void _notification(int what);
private:
Vector<NavMarker *> party_follow_markers{};
static PlayerCharacter *instance;
public:
static PlayerCharacter *get_singleton();
GET_SET_FNS(Vector<NavMarker *> const &, party_follow_markers);
};