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/Tile/ClayTile.cpp
Normal file
16
source/World/Tile/ClayTile.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
|
||||
ClayTile::ClayTile(int a, int b, Material* c) : Tile(a, b, c)
|
||||
{
|
||||
}
|
||||
|
||||
int ClayTile::getResource(int, Random* random)
|
||||
{
|
||||
return 0; //@NOTE: Would be clay's item ID
|
||||
}
|
||||
|
||||
int ClayTile::getResourceCount(Random* random)
|
||||
{
|
||||
return 4;
|
||||
}
|
||||
Reference in New Issue
Block a user