public WallBuildTool(HullDataManager hullData) : base(hullData) { _tempWallBuffer = new ObjectBuffer<ObjectIdentifier>( hullData.FloorVertexes[0].Count()*2, 10, 20, 30, "InternalWallTex") {UpdateBufferManually = true}; _tempWallIdentifiers = new List<ObjectIdentifier>(); }
public WallMenuTool(HullDataManager hullData) { _toolbar = new Toolbar("Templates/BuildToolbar.json"); _toolbar.Enabled = false; _toolbar.BindButtonToTool( 0, new WallBuildTool(hullData) ); _toolbar.BindButtonToTool( 1, new WallDeleteTool(hullData) ); }
public WallDeleteTool(HullDataManager hullData) : base(hullData) { _tempWallBuffer = new ObjectBuffer<ObjectIdentifier>(5000, 10, 20, 30, "WallDeleteMarqueeTex"){UpdateBufferManually = true}; _prevIdentifiers = new List<ObjectIdentifier>(); }