mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
public inheritance
This commit is contained in:
parent
0e38698dae
commit
102ec6d865
3 changed files with 3 additions and 3 deletions
|
|
@ -33,7 +33,7 @@ struct PlayerInput {
|
|||
bool flight;
|
||||
};
|
||||
|
||||
class Player : Object, Serializable {
|
||||
class Player : public Object, public Serializable {
|
||||
float speed;
|
||||
int chosenSlot;
|
||||
glm::vec3 spawnpoint {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue