public MoveContext(PositionInfo topLeft, List <PositionInfo> positions, bool[,] bodyMatrix) { this.TopLeft = topLeft; this.Positions = positions; this.BodyMatrix = bodyMatrix; }
public void Move(MoveContext moveContext) { this.topLeft = moveContext.TopLeft; this.bodyPositions = moveContext.Positions; }