forked from Kolyah35/minecraft-pe-0.6.1
16 lines
392 B
C++
Executable File
16 lines
392 B
C++
Executable File
#include "LightGemTile.h"
|
|
#include "../../../util/Random.h"
|
|
#include "../../item/Item.h"
|
|
LightGemTile::LightGemTile( int id, int tex, const Material* material )
|
|
: super(id, tex, material)
|
|
{ }
|
|
|
|
int LightGemTile::getResourceCount( Random* random ) {
|
|
return 2 + random->nextInt(3);
|
|
}
|
|
|
|
int LightGemTile::getResource( int data, Random* random ) {
|
|
return Item::yellowDust->id;
|
|
}
|
|
|