aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_internal.h
diff options
context:
space:
mode:
authorJuhani Numminen <juhaninumminen0@gmail.com>2017-01-17 17:26:21 +0200
committersfan5 <sfan5@live.de>2017-03-05 20:56:20 +0100
commit0e27b4b978d81504a9e3bf221e6e4691c720e6ef (patch)
tree66e771a01e760accbf68f590d1863729b6c5ae4a /src/script/lua_api/l_internal.h
parente10e5fd16c2bd55b9b106edc6cedd07530cf103d (diff)
downloadminetest-0e27b4b978d81504a9e3bf221e6e4691c720e6ef.tar.gz
minetest-0e27b4b978d81504a9e3bf221e6e4691c720e6ef.tar.bz2
minetest-0e27b4b978d81504a9e3bf221e6e4691c720e6ef.zip
Update .appdata and .desktop files
Diffstat (limited to 'src/script/lua_api/l_internal.h')
0 files changed, 0 insertions, 0 deletions
hl opt">(u16 id_, bool reliable_=true, std::string data_=""): id(id_), reliable(reliable_), datastring(data_) {} u16 id; bool reliable; std::string datastring; }; /* Parent class for ServerActiveObject and ClientActiveObject */ class ActiveObject { public: ActiveObject(u16 id): m_id(id) { } u16 getId() { return m_id; } void setId(u16 id) { m_id = id; } virtual u8 getType() const = 0; virtual bool getCollisionBox(aabb3f *toset) = 0; virtual bool collideWithObjects() = 0; protected: u16 m_id; // 0 is invalid, "no id" }; #endif