blob: 69decbaafa0e4e96843e68a70e4105b7bc7acf4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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();
};
|