public Axle(Axle axle) { Offset = axle.Offset; InitialLoad = axle.InitialLoad; FinalLoad = axle.InitialLoad; MaximumLoad = axle.MaximumLoad; }
public Truck(Truck truck) { Items = new List <Item>(truck.Items); FrontAxle = new Axle(truck.FrontAxle); RearAxle = new Axle(truck.RearAxle); Width = truck.Width; Height = truck.Height; Depth = truck.Depth; Volume = truck.Volume; ContainerOffset = truck.ContainerOffset; AllowedRotations = truck.AllowedRotations; }
public Truck(Axle frontAxle, Axle rearAxle, int width, int height, int depth, int containerOffset) { Items = new List <Item>(); FrontAxle = new Axle(frontAxle); RearAxle = new Axle(rearAxle); Width = width; Height = height; Depth = depth; Volume = Width * Height * Depth; ContainerOffset = containerOffset; AllowedRotations = Rotation.NONE | Rotation.Z | Rotation.Y | Rotation.XY | Rotation.X | Rotation.XZ; }
public Truck() { Items = new List <Item>(); FrontAxle = new Axle(); RearAxle = new Axle(); }