mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Add unittests for item movement code (#11885)
This commit is contained in:
parent
3f801bc096
commit
907dcdcf7b
14 changed files with 382 additions and 81 deletions
|
@ -203,13 +203,15 @@ enum ClearObjectsMode {
|
|||
CLEAR_OBJECTS_MODE_QUICK,
|
||||
};
|
||||
|
||||
class ServerEnvironment : public Environment
|
||||
class ServerEnvironment final : public Environment
|
||||
{
|
||||
public:
|
||||
ServerEnvironment(ServerMap *map, ServerScripting *scriptIface,
|
||||
ServerEnvironment(ServerMap *map, ServerScripting *script_iface,
|
||||
Server *server, const std::string &path_world, MetricsBackend *mb);
|
||||
~ServerEnvironment();
|
||||
|
||||
void init();
|
||||
|
||||
Map & getMap();
|
||||
|
||||
ServerMap & getServerMap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue