Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
mock_serveractiveobject.h
Go to the documentation of this file.
1// Luanti
2// SPDX-License-Identifier: LGPL-2.1-or-later
3// Copyright (C) 2022 Minetest core developers & community
4
6
8{
9public:
12
14 virtual bool getCollisionBox(aabb3f *toset) const { return false; }
15 virtual bool getSelectionBox(aabb3f *toset) const { return false; }
16 virtual bool collideWithObjects() const { return false; }
17};
ActiveObjectType
Definition activeobject.h:14
@ ACTIVEOBJECT_TYPE_TEST
Definition activeobject.h:16
Definition mock_serveractiveobject.h:8
MockServerActiveObject(ServerEnvironment *env=nullptr, v3f p=v3f())
Definition mock_serveractiveobject.h:10
virtual bool getCollisionBox(aabb3f *toset) const
Definition mock_serveractiveobject.h:14
virtual ActiveObjectType getType() const
Definition mock_serveractiveobject.h:13
virtual bool collideWithObjects() const
Definition mock_serveractiveobject.h:16
virtual bool getSelectionBox(aabb3f *toset) const
Definition mock_serveractiveobject.h:15
Definition serveractiveobject.h:41
Definition serverenvironment.h:219
core::aabbox3d< f32 > aabb3f
Definition irr_aabb3d.h:11
core::vector3df v3f
Definition irr_v3d.h:11
static std::string p(std::string path)
Definition test_filesys.cpp:53