protected StepCompressed(int clickX = -1, int clickY = -1, StepCompressed lastStep = null) { this.clickX = (sbyte)clickX; this.clickY = (sbyte)clickY; this.lastStep = lastStep == null ? null : new StepCompressed(lastStep); }
public Step(byte[,] status, int stepNumber, int score, int clickX = -1, int clickY = -1, StepCompressed lastStep = null) : base(clickX, clickY, lastStep) { Status = status; StepNumber = stepNumber; Score = score; }
private StepCompressed(StepCompressed step) : this(step.clickX, step.clickY, step.lastStep) { }