1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-29 14:45:20 +01:00

Tool specific pointing and blocking pointable type (#13992)

This commit is contained in:
cx384
2024-01-22 18:27:08 +01:00
committed by GitHub
parent fb461d21a5
commit 5958714309
39 changed files with 676 additions and 67 deletions

View File

@@ -174,6 +174,8 @@ public:
inline const ObjectProperties &getProperties() const { return m_prop; }
inline const std::string &getName() const { return m_name; }
scene::ISceneNode *getSceneNode() const override;
scene::IAnimatedMeshSceneNode *getAnimatedMeshSceneNode() const override;
@@ -208,6 +210,11 @@ public:
return m_is_local_player;
}
inline bool isPlayer() const
{
return m_is_player;
}
inline bool isVisible() const
{
return m_is_visible;