public FloorTool(Editor editor) { _editor = editor; _selectedSegments = new List<Segment>(); Name = "Floor"; Capacity = 3; }
public DeleteTool(Editor editor) { _editor = editor; _selectedSegments = new List<Segment>(); Name = "Reduce building"; DeleteRow = true; }
public MainWindow() { InitializeComponent(); _viewModel = new Editor(uxWorkspaceViewbox, this); _viewModel.NewBuilding(); DataContext = _viewModel; }
public StairsTool(Editor editor) { _editor = editor; Name = "Stairs"; Capacity = 3; EntranceCapacity = 3; Delay = 2; UpdateMessage(); }
public SideElementTool(Editor editor, SideElementType elementType, string name = "SideTool", bool enableCapacity = false) { _editor = editor; _elementType = elementType; _enableCapacity = enableCapacity; Name = name; Capacity = 3; GUIConfiguration = BuildGUIConfiguration(); }
public DangerTool(Editor editor) { Name = "Danger"; _editor = editor; }