mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
the big refactor + extracted data classes from coders/json to data/dynamic
This commit is contained in:
parent
34d4500e24
commit
377c8e5029
36 changed files with 908 additions and 875 deletions
|
|
@ -26,9 +26,6 @@ Player::Player(glm::vec3 position, float speed) :
|
|||
hitbox(new Hitbox(position, glm::vec3(0.3f,0.9f,0.3f))) {
|
||||
}
|
||||
|
||||
Player::~Player(){
|
||||
}
|
||||
|
||||
void Player::update(
|
||||
Level* level,
|
||||
PlayerInput& input,
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ public:
|
|||
glm::vec2 cam = {};
|
||||
|
||||
Player(glm::vec3 position, float speed);
|
||||
~Player();
|
||||
~Player() = default;
|
||||
|
||||
void teleport(glm::vec3 position);
|
||||
void update(Level* level, PlayerInput& input, float delta);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue