private void CopyMembers(LightMode other, Light light) { this.id = other.id; this.light = light; this.name = other.name; this.time = other.time; this.flash = other.flash; this.brightness = other.brightness; this.active = other.active; }
private void InitializeMembers() { this.id = 255; this.light = null; this.name = null; this.time = LightTime.Off; this.flash = 0; this.brightness = 0; this.active = false; }