Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
mock_activeobject.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
5#include <activeobject.h>
6
8{
9public:
11
13 virtual bool getCollisionBox(aabb3f *toset) const { return false; }
14 virtual bool getSelectionBox(aabb3f *toset) const { return false; }
15 virtual bool collideWithObjects() const { return false; }
16};
ActiveObjectType
Definition activeobject.h:14
@ ACTIVEOBJECT_TYPE_TEST
Definition activeobject.h:16
Definition activeobject.h:141
Definition mock_activeobject.h:8
virtual bool collideWithObjects() const
Definition mock_activeobject.h:15
MockActiveObject(u16 id)
Definition mock_activeobject.h:10
virtual bool getCollisionBox(aabb3f *toset) const
Definition mock_activeobject.h:13
virtual ActiveObjectType getType() const
Definition mock_activeobject.h:12
virtual bool getSelectionBox(aabb3f *toset) const
Definition mock_activeobject.h:14
core::aabbox3d< f32 > aabb3f
Definition irr_aabb3d.h:11