21 lines
475 B
C++
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);
|
|
};
|