1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-07 16:48:40 +00:00

ServerEnvironment: Remove direct dependency on EmergeManager

This commit is contained in:
kwolekr 2014-02-09 16:36:30 -05:00
parent a0683b811c
commit 89f7dc1efd
6 changed files with 27 additions and 24 deletions

View file

@ -70,15 +70,7 @@ struct BlockEmergeData {
u8 flags;
};
class IBackgroundBlockEmerger
{
public:
virtual bool enqueueBlockEmerge(u16 peer_id, v3s16 p,
bool allow_generate) = 0;
virtual ~IBackgroundBlockEmerger() {}
};
class EmergeManager : public IBackgroundBlockEmerger {
class EmergeManager {
public:
INodeDefManager *ndef;