MakePalmFoliage() public static method

public static MakePalmFoliage ( World world, Vector3I Pos, int Height ) : void
world World
Pos Vector3I
Height int
return void
Example #1
0
 private void MakeTrunks(short height, TreeType type)
 {
     for (short i = 0; i < height; ++i)
     {
         _map.QueueUpdate(new BlockUpdate(null, _x, _y, (short)(_z + i), Block.Log));
     }
     if (TreeType.Normal == type)
     {
         TreeGeneration.MakeNormalFoliage(_world, new Vector3I(_x, _y, _z), height + 1);
     }
     else
     {
         TreeGeneration.MakePalmFoliage(_world, new Vector3I(_x, _y, _z), height);
     }
 }