コード例 #1
0
ファイル: App.xaml.cs プロジェクト: rafaelschmidl/ITHS-DotNet
 internal void InitialLoad()
 {
     if (!Harbor.LoadBoats())
     {
         HarborUtils.CreateRandomBoats(Harbor.NumRandomBoats);                      // Make sure we have something to show, either from file or random new ones
     }
     SoundFX.PlayStartSound();
     SoundFX.StartAmbience();
     UpdateHarborContent(); // we do this so we load the initial content
     dayTimer.Tick += DayTick;
 }