RpyPlayer/src/com/annimon/everlastingsummer/FadeInfo.java
2015-04-04 15:09:43 +03:00

46 lines
907 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.annimon.everlastingsummer;
/**
* Информация о плавном переходе состояния воспроизведения.
* @author aNNiMON
*/
public final class FadeInfo {
private boolean in, out;
private double duration;
public FadeInfo() {
this(false, false, 0);
}
public FadeInfo(boolean in, boolean out, double duration) {
this.in = in;
this.out = out;
this.duration = duration;
}
public boolean isIn() {
return in;
}
public void setIn(boolean in) {
this.in = in;
}
public boolean isOut() {
return out;
}
public void setOut(boolean out) {
this.out = out;
}
public double getDuration() {
return duration;
}
public void setDuration(double duration) {
this.duration = duration;
}
}