예제 #1
0
        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);
        }
예제 #2
0
 public OsuFileAnalyzer(OsuFile osuFile)
 {
     OsuFile  = osuFile;
     GamePlay = new GamePlay(osuFile);
 }
예제 #3
0
파일: GamePlay.cs 프로젝트: vebin/Coosu
 public GamePlay(OsuFile osuFile)
 {
     _osuFile = osuFile;
 }