mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-24 07:38:12 +05:00
29 lines
431 B
C++
29 lines
431 B
C++
#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();
|
|
}; |