2019-04-20 14:02:55 +02:00
|
|
|
#ifndef PLAYER_H
|
|
|
|
#define PLAYER_H
|
|
|
|
|
|
|
|
#include "entity.h"
|
|
|
|
|
2019-09-16 21:57:55 +02:00
|
|
|
class Bag;
|
2019-08-16 02:24:32 +02:00
|
|
|
|
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);
|
|
|
|
|
2019-09-16 21:57:55 +02:00
|
|
|
void _setup();
|
2019-08-16 02:24:32 +02:00
|
|
|
|
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();
|
|
|
|
|
2019-08-16 02:24:32 +02:00
|
|
|
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-08-16 02:24:32 +02:00
|
|
|
|
2019-04-20 14:02:55 +02:00
|
|
|
#endif
|