2019-04-20 14:02:55 +02:00
|
|
|
#include "player.h"
|
|
|
|
|
2019-09-16 21:57:55 +02:00
|
|
|
#include "../inventory/bag.h"
|
2019-08-16 02:24:32 +02:00
|
|
|
|
2019-10-06 00:25:12 +02:00
|
|
|
|
|
|
|
|
2019-10-14 19:49:40 +02:00
|
|
|
//Ref<InputProfile> Player::get_input_profile() {
|
|
|
|
// return _input_profile;
|
|
|
|
//}
|
|
|
|
|
2019-10-06 00:25:12 +02:00
|
|
|
|
2019-06-10 20:48:14 +02:00
|
|
|
Player::Player() {
|
2019-11-04 01:38:27 +01:00
|
|
|
|
2019-10-14 19:49:40 +02:00
|
|
|
|
|
|
|
//_input_profile = Ref<InputProfile>(memnew(InputProfile()));
|
2019-10-28 21:48:50 +01:00
|
|
|
|
2019-11-04 01:38:27 +01:00
|
|
|
|
2019-10-14 19:49:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
Player::~Player() {
|
|
|
|
//_input_profile.unref();
|
2019-04-20 14:02:55 +02:00
|
|
|
}
|
2019-08-16 02:24:32 +02:00
|
|
|
|
|
|
|
void Player::_bind_methods() {
|
2019-10-06 00:25:12 +02:00
|
|
|
|
2019-10-14 19:49:40 +02:00
|
|
|
|
|
|
|
//ClassDB::bind_method(D_METHOD("get_input_profile"), &Player::get_input_profile);
|
2019-08-16 02:24:32 +02:00
|
|
|
}
|