Пример #1
0
        public MainScreen() : base(ScreenContent.main)
        {
            Random rnd   = new Random();
            int    index = rnd.Next(1, 3);

            Arts[0].ChangeAnimation("key" + index);
            menu = (Menu)AllComps.First(t => t is Menu);
        }
Пример #2
0
 public SettingScreen() : base(ScreenContent.settings)
 {
     soundEffect = ContentLoader.Instance.LoadSound("shoot");
     menu        = (Menu)AllComps.First(t => t is Menu);
 }