mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-23 20:09:46 +03:00
* Initial commit.
:)
This commit is contained in:
16
source/World/Storage/LevelSource.hpp
Normal file
16
source/World/Storage/LevelSource.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include "Utils.hpp"
|
||||
#include "Material.hpp"
|
||||
|
||||
class LevelSource
|
||||
{
|
||||
public:
|
||||
virtual ~LevelSource();
|
||||
virtual TileID getTile(int x, int y, int z) = 0;
|
||||
virtual float getBrightness(int x, int y, int z) = 0;
|
||||
virtual int getData(int x, int y, int z) = 0;
|
||||
virtual Material* getMaterial(int x, int y, int z) = 0;
|
||||
virtual bool isSolidTile(int x, int y, int z) = 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user