Пример #1
0
		public ActionParams(AllowedLedActions action, RGB colorFrom, RGB colorTo, int startTime, int duration, int delayAfter, int tickLength) {
			this.action = action;
			this.colorFrom = colorFrom;
			this.colorTo = colorTo;
			this.startTime = startTime;
			this.duration = duration;
			this.delayAfter = delayAfter;
			this.tickLength = tickLength;
		}
Пример #2
0
		public ActionParams(AllowedLedActions action, RGB colorFrom, RGB colorTo, int startTime, int duration, int delayAfter, int tickLength
			, int count = 1, float upPct = 0.5f, float maxColorPct = 0, float firstColorPct = 0.33f, float secondColorPct = 0.33f):
		this(action, colorFrom, colorTo, startTime, duration, delayAfter, tickLength)
		{
			this.count = count;
			this.upPct = upPct;
			this.maxColorPct = maxColorPct;
			this.firstColorPct = firstColorPct;
			this.secondColorPct = secondColorPct;
		}