entity_spell_system/entities/player.h

35 lines
419 B
C
Raw Normal View History

2019-04-20 14:02:55 +02:00
#ifndef PLAYER_H
#define PLAYER_H
#include "entity.h"
class Bag;
2019-04-20 14:02:55 +02:00
class Player : public Entity {
GDCLASS(Player, Entity);
public:
2019-10-06 00:25:12 +02:00
int gets_seed();
void sets_seed(int value);
int getc_seed();
void setc_seed(int value);
void _setup();
2019-10-06 00:25:12 +02:00
Dictionary _to_dict();
void _from_dict(const Dictionary &dict);
2019-04-20 14:02:55 +02:00
Player();
protected:
static void _bind_methods();
private:
2019-10-06 00:25:12 +02:00
int _s_seed;
int _c_seed;
2019-04-20 14:02:55 +02:00
};
2019-04-20 14:02:55 +02:00
#endif