public LoopMode(LoopStyle loopStyle, int time) { this.Style = loopStyle; this.LoopTime = time; this.isLoopFinished = false; }