/// <summary> /// 生成甲板 /// </summary> private void GenerateDeck() { ShipPlan P = ShipPlanDC.GetCurShipPlan(); if (P == null) { return; } P.DoDeckDataStart(); GenerateShip.CreateMiddleBeam(); P.DoDeckDataEnd(); }
/// <summary> /// 生成甲板 排除拖动的房间 /// </summary> private void GenerateDeckWithOutThis() { ShipPlan P = ShipPlanDC.GetCurShipPlan(); if (P == null) { return; } P.DoDeckDataStartWithOut(m_Core.Data); GenerateShip.CreateMiddleBeam(); P.DoDeckDataEnd(); }