public static OsuFile CreateEmpty() { var emptyFile = new OsuFile { Version = 14, General = new GeneralSection(), Colours = new ColorSection(), Difficulty = new DifficultySection(), Editor = new EditorSection(), Metadata = new MetadataSection(), TimingPoints = new TimingSection() }; emptyFile.Events = new EventSection(emptyFile); emptyFile.HitObjects = new HitObjectSection(emptyFile); emptyFile.TimingPoints.TimingList = new List <TimingPoint>(); emptyFile.Events.SampleInfo = new List <StoryboardSampleData>(); return(emptyFile); }
public OsuFileAnalyzer(OsuFile osuFile) { OsuFile = osuFile; GamePlay = new GamePlay(osuFile); }
public GamePlay(OsuFile osuFile) { _osuFile = osuFile; }