mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
add player.is_loading_chunks, .set_loading_chunks
This commit is contained in:
parent
0940e899cf
commit
e153e1fbd7
6 changed files with 54 additions and 2 deletions
|
|
@ -51,6 +51,7 @@ class Player : public Serializable {
|
|||
bool noclip = false;
|
||||
bool infiniteItems = true;
|
||||
bool instantDestruction = true;
|
||||
bool loadingChunks = true;
|
||||
entityid_t eid;
|
||||
entityid_t selectedEid = 0;
|
||||
public:
|
||||
|
|
@ -97,6 +98,9 @@ public:
|
|||
bool isInstantDestruction() const;
|
||||
void setInstantDestruction(bool flag);
|
||||
|
||||
bool isLoadingChunks() const;
|
||||
void setLoadingChunks(bool flag);
|
||||
|
||||
entityid_t getEntity() const;
|
||||
void setEntity(entityid_t eid);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue