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