mirror of
https://github.com/ppy/osu.git
synced 2024-09-22 08:07:24 +08:00
25 lines
818 B
C#
25 lines
818 B
C#
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|||
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|||
|
|
|||
|
namespace osu.Game.Storyboards
|
|||
|
{
|
|||
|
public class CommandTrigger : CommandTimelineGroup
|
|||
|
{
|
|||
|
private string triggerName;
|
|||
|
private double startTime;
|
|||
|
private double endTime;
|
|||
|
private int groupNumber;
|
|||
|
|
|||
|
public CommandTrigger(string triggerName, double startTime, double endTime, int groupNumber)
|
|||
|
{
|
|||
|
this.triggerName = triggerName;
|
|||
|
this.startTime = startTime;
|
|||
|
this.endTime = endTime;
|
|||
|
this.groupNumber = groupNumber;
|
|||
|
}
|
|||
|
|
|||
|
public override string ToString()
|
|||
|
=> $"{triggerName} {startTime} -> {endTime} ({groupNumber})";
|
|||
|
}
|
|||
|
}
|