コード例 #1
0
ファイル: ColourConfiguration.cs プロジェクト: andybak/Form3D
 public ColourConfiguration(ColourConfiguration config)
 {
     this.cycleColour = config.getCycleColour();
     //this.currentColour
     this.cycle      = config.getCycle();
     this.pulseCount = config.getPulseCount();
     //this.pulseLength
     this.pulse      = config.getPulse();
     this.pulseSpeed = config.getPulseSpeed();
     //this.pulseSpeedCount
     this.fadeColour     = config.getFadeColour();
     this.baseRed        = config.getBaseRed();
     this.baseGreen      = config.getBaseGreen();
     this.baseBlue       = config.getBaseBlue();
     this.backgroundType = config.getBackgroundType();
 }
コード例 #2
0
 public ColourConfiguration(ColourConfiguration config)
 {
     this.cycleColour = config.getCycleColour ();
     //this.currentColour
     this.cycle = config.getCycle ();
     this.pulseCount = config.getPulseCount ();
     //this.pulseLength
     this.pulse = config.getPulse ();
     this.pulseSpeed = config.getPulseSpeed ();
     //this.pulseSpeedCount
     this.fadeColour = config.getFadeColour ();
     this.baseRed = config.getBaseRed ();
     this.baseGreen = config.getBaseGreen ();
     this.baseBlue = config.getBaseBlue ();
     this.backgroundType = config.getBackgroundType ();
 }