示例#1
0
文件: Song.cs 项目: dm-j/iCreateOI2
 private Song(SongNumber number, Melody melody)
 {
     Data   = number.Data.Concat(melody.Data).ToImmutableArray();
     Number = number;
 }
示例#2
0
文件: Song.cs 项目: dm-j/iCreateOI2
 public static Song Define(SongNumber number, Melody melody) =>
 new Song(number, melody);
示例#3
0
 public static Command Play(SongNumber song) =>
 new Command(OpCode.Play, song);