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); }
public SettingScreen() : base(ScreenContent.settings) { soundEffect = ContentLoader.Instance.LoadSound("shoot"); menu = (Menu)AllComps.First(t => t is Menu); }