|
@@ -70,7 +70,7 @@ DirtBlockItemType::DirtBlockItemType()
|
|
|
|
|
|
Item* DirtBlockItemType::createItem() const
|
|
Item* DirtBlockItemType::createItem() const
|
|
{
|
|
{
|
|
- BasicBlockItem* item = new BasicBlockItem( (ItemType*)this, DirtBlockType::INSTANCE, "Dirt" );
|
|
|
|
|
|
+ BasicBlockItem* item = new BasicBlockItem( this, DirtBlockType::INSTANCE, "Dirt" );
|
|
initializeItem( item, 0, 0, 100, 100, 1, 0, 1 );
|
|
initializeItem( item, 0, 0, 100, 100, 1, 0, 1 );
|
|
return item;
|
|
return item;
|
|
}
|
|
}
|
|
@@ -90,7 +90,7 @@ StoneBlockItemType::StoneBlockItemType()
|
|
|
|
|
|
Item* StoneBlockItemType::createItem() const
|
|
Item* StoneBlockItemType::createItem() const
|
|
{
|
|
{
|
|
- BasicBlockItem* item = new BasicBlockItem( (ItemType*)this, StoneBlockType::INSTANCE, "Stone" );
|
|
|
|
|
|
+ BasicBlockItem* item = new BasicBlockItem( this, StoneBlockType::INSTANCE, "Stone" );
|
|
initializeItem( item, 0, 0, 100, 100, 2, 0, 1 );
|
|
initializeItem( item, 0, 0, 100, 100, 2, 0, 1 );
|
|
return item;
|
|
return item;
|
|
}
|
|
}
|
|
@@ -110,7 +110,7 @@ SandBlockItemType::SandBlockItemType()
|
|
|
|
|
|
Item* SandBlockItemType::createItem() const
|
|
Item* SandBlockItemType::createItem() const
|
|
{
|
|
{
|
|
- BasicBlockItem* item = new BasicBlockItem( (ItemType*)this, SandBlockType::INSTANCE, "Sand" );
|
|
|
|
|
|
+ BasicBlockItem* item = new BasicBlockItem( this, SandBlockType::INSTANCE, "Sand" );
|
|
initializeItem( item, 0, 0, 100, 100, 0.5f, 0, 1 );
|
|
initializeItem( item, 0, 0, 100, 100, 0.5f, 0, 1 );
|
|
return item;
|
|
return item;
|
|
}
|
|
}
|
|
@@ -130,7 +130,7 @@ OakBlockItemType::OakBlockItemType()
|
|
|
|
|
|
Item* OakBlockItemType::createItem() const
|
|
Item* OakBlockItemType::createItem() const
|
|
{
|
|
{
|
|
- BasicBlockItem* item = new BasicBlockItem( (ItemType*)this, OakBlockType::INSTANCE, "Oak" );
|
|
|
|
|
|
+ BasicBlockItem* item = new BasicBlockItem( this, OakBlockType::INSTANCE, "Oak" );
|
|
initializeItem( item, 0, 0, 100, 100, 1.5f, 0, 1 );
|
|
initializeItem( item, 0, 0, 100, 100, 1.5f, 0, 1 );
|
|
return item;
|
|
return item;
|
|
}
|
|
}
|
|
@@ -150,7 +150,7 @@ LeavesBlockItemType::LeavesBlockItemType()
|
|
|
|
|
|
Item* LeavesBlockItemType::createItem() const
|
|
Item* LeavesBlockItemType::createItem() const
|
|
{
|
|
{
|
|
- BasicBlockItem* item = new BasicBlockItem( (ItemType*)this, LeavesBlockType::INSTANCE, "Leaves" );
|
|
|
|
|
|
+ BasicBlockItem* item = new BasicBlockItem( this, LeavesBlockType::INSTANCE, "Leaves" );
|
|
initializeItem( item, 0, 0, 100, 100, 0.1f, 0, 1 );
|
|
initializeItem( item, 0, 0, 100, 100, 0.1f, 0, 1 );
|
|
return item;
|
|
return item;
|
|
}
|
|
}
|
|
@@ -170,7 +170,7 @@ GravelBlockItemType::GravelBlockItemType()
|
|
|
|
|
|
Item* GravelBlockItemType::createItem() const
|
|
Item* GravelBlockItemType::createItem() const
|
|
{
|
|
{
|
|
- BasicBlockItem* item = new BasicBlockItem( (ItemType*)this, GravelBlockType::INSTANCE, "Gravel" );
|
|
|
|
|
|
+ BasicBlockItem* item = new BasicBlockItem( this, GravelBlockType::INSTANCE, "Gravel" );
|
|
initializeItem( item, 0, 0, 100, 100, 0.75f, 0, 1 );
|
|
initializeItem( item, 0, 0, 100, 100, 0.75f, 0, 1 );
|
|
return item;
|
|
return item;
|
|
}
|
|
}
|
|
@@ -190,7 +190,7 @@ GraniteBlockItemType::GraniteBlockItemType()
|
|
|
|
|
|
Item* GraniteBlockItemType::createItem() const
|
|
Item* GraniteBlockItemType::createItem() const
|
|
{
|
|
{
|
|
- BasicBlockItem* item = new BasicBlockItem( (ItemType*)this, GraniteBlockType::INSTANCE, "Granite" );
|
|
|
|
|
|
+ BasicBlockItem* item = new BasicBlockItem( this, GraniteBlockType::INSTANCE, "Granite" );
|
|
initializeItem( item, 0, 0, 100, 100, 3.f, 0, 1 );
|
|
initializeItem( item, 0, 0, 100, 100, 3.f, 0, 1 );
|
|
return item;
|
|
return item;
|
|
}
|
|
}
|
|
@@ -210,7 +210,7 @@ CobbleBlockItemType::CobbleBlockItemType()
|
|
|
|
|
|
Item* CobbleBlockItemType::createItem() const
|
|
Item* CobbleBlockItemType::createItem() const
|
|
{
|
|
{
|
|
- BasicBlockItem* item = new BasicBlockItem( (ItemType*)this, CobbleBlockType::INSTANCE, "Cobble" );
|
|
|
|
|
|
+ BasicBlockItem* item = new BasicBlockItem( this, CobbleBlockType::INSTANCE, "Cobble" );
|
|
initializeItem( item, 0, 0, 100, 100, 1.f, 0, 1 );
|
|
initializeItem( item, 0, 0, 100, 100, 1.f, 0, 1 );
|
|
return item;
|
|
return item;
|
|
}
|
|
}
|
|
@@ -230,7 +230,7 @@ BirchBlockItemType::BirchBlockItemType()
|
|
|
|
|
|
Item* BirchBlockItemType::createItem() const
|
|
Item* BirchBlockItemType::createItem() const
|
|
{
|
|
{
|
|
- BasicBlockItem* item = new BasicBlockItem( (ItemType*)this, BirchBlockType::INSTANCE, "Birch" );
|
|
|
|
|
|
+ BasicBlockItem* item = new BasicBlockItem( this, BirchBlockType::INSTANCE, "Birch" );
|
|
initializeItem( item, 0, 0, 100, 100, 1.5f, 0, 1 );
|
|
initializeItem( item, 0, 0, 100, 100, 1.5f, 0, 1 );
|
|
return item;
|
|
return item;
|
|
}
|
|
}
|
|
@@ -250,7 +250,7 @@ BeechBlockItemType::BeechBlockItemType()
|
|
|
|
|
|
Item* BeechBlockItemType::createItem() const
|
|
Item* BeechBlockItemType::createItem() const
|
|
{
|
|
{
|
|
- BasicBlockItem* item = new BasicBlockItem( (ItemType*)this, BeechBlockType::INSTANCE, "Beech" );
|
|
|
|
|
|
+ BasicBlockItem* item = new BasicBlockItem( this, BeechBlockType::INSTANCE, "Beech" );
|
|
initializeItem( item, 0, 0, 100, 100, 1.5f, 0, 1 );
|
|
initializeItem( item, 0, 0, 100, 100, 1.5f, 0, 1 );
|
|
return item;
|
|
return item;
|
|
}
|
|
}
|
|
@@ -270,7 +270,7 @@ BasaltBlockItemType::BasaltBlockItemType()
|
|
|
|
|
|
Item* BasaltBlockItemType::createItem() const
|
|
Item* BasaltBlockItemType::createItem() const
|
|
{
|
|
{
|
|
- BasicBlockItem* item = new BasicBlockItem( (ItemType*)this, BasaltBlockType::INSTANCE, "Basalt" );
|
|
|
|
|
|
+ BasicBlockItem* item = new BasicBlockItem( this, BasaltBlockType::INSTANCE, "Basalt" );
|
|
initializeItem( item, 0, 0, 100, 100, 2.f, 0, 1 );
|
|
initializeItem( item, 0, 0, 100, 100, 2.f, 0, 1 );
|
|
return item;
|
|
return item;
|
|
}
|
|
}
|