mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
Merge remote-tracking branch 'upstream/main'
This commit is contained in:
commit
0e38698dae
154 changed files with 6818 additions and 2760 deletions
|
|
@ -49,7 +49,7 @@ public:
|
|||
|
||||
glm::vec2 cam = {};
|
||||
|
||||
Player(glm::vec3 position, float speed);
|
||||
Player(glm::vec3 position, float speed, std::shared_ptr<Inventory> inv);
|
||||
~Player();
|
||||
|
||||
void teleport(glm::vec3 position);
|
||||
|
|
@ -71,6 +71,10 @@ public:
|
|||
void deserialize(dynamic::Map *src) override;
|
||||
|
||||
static void convert(dynamic::Map* data, const ContentLUT* lut);
|
||||
|
||||
inline int getId() const {
|
||||
return 1;
|
||||
}
|
||||
};
|
||||
|
||||
#endif /* SRC_OBJECTS_PLAYER_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue