feat: init

This commit is contained in:
dxfiscool
2026-03-08 10:09:54 +01:00
commit 25809b8455
18807 changed files with 3944357 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#pragma once
#include "BlockSource.h"
class Level;
class BlockSourceImpl : public BlockSource
{
private:
Level *world;
int x;
int y;
int z;
public:
BlockSourceImpl(Level *world, int x, int y, int z);
Level *getWorld();
double getX();
double getY();
double getZ();
int getBlockX();
int getBlockY();
int getBlockZ();
Tile *getType();
int getData();
Material *getMaterial();
shared_ptr<TileEntity> getEntity();
};