public override sealed void Reset(ILightingInformation information, Random random) { _colours = (from index in Enumerable.Range(0, information.LightCount) select information[index].Color).ToArray(); for (int i = 0; i < Math.Min(Configured.Length, information.LightCount); i++) { _colours[i] = Configured[i]; } }
public override void Reset(ILightingInformation information, Random random) { Color = Color.Random(random); }
public override void Reset(ILightingInformation information, Random random) { _colours = (from index in Enumerable.Range(0, information.LightCount) select information[index].Color).ToArray(); }
public abstract void Reset(ILightingInformation information, Random random);
public override void Reset(ILightingInformation information, Random random) { NextState(random); }
public override void Reset(ILightingInformation information, Random random) { }
public override void Reset(ILightingInformation information, Random random) { _colors = (from index in Enumerable.Range(0, information.LightCount) select Color.Random(random)).ToList(); }