/// <summary> /// Removes the structure from given location, if any. /// </summary> public override void remove(MapViewWindow view, Location loc) { Commercial c = Commercial.get(loc); if (c != null) { if (c.isOwned) { c.remove(); } else { MainWindow.showError("Can not remove"); } //! MainWindow.showError("撤去できません"); } }
/// <summary> /// Removes the structure from given location, if any. /// </summary> public override void Remove(MapViewWindow view, Location loc) { Commercial c = Commercial.get(loc); if (c != null) { if (c.isOwned) { c.remove(); } else { MessageBox.Show("Can not remove"); } //! MessageBox.Show("撤去できません"); } }