MakeNormalFoliage() 공개 정적인 메소드

public static MakeNormalFoliage ( World w, Vector3I Pos, int Height ) : void
w World
Pos Vector3I
Height int
리턴 void
예제 #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);
     }
 }