Пример #1
0
 /// <summary>
 /// 创建地图块
 /// </summary>
 /// <param name="data">断面数据</param>
 public void SetBlocks(BlockObjectData data)
 {
     this.blocks = data.GetBlocks();
     isDirty     = true;
 }
Пример #2
0
 /// <summary>
 /// 初始化地图块,每个block的值为0
 /// </summary>
 public void InitBlocks()
 {
     blocks = data.GetBlocks();
 }