Пример #1
0
        public override void OnStart(Dictionary <string, object> args)
        {
            Root.Add(new Sprite(ResourceManager.LoadTexture("bgjukebox.png")));
            Core.I.BgmStop();
            menuItems = AudioList.Select((a, i) => new DEText(" " + a, Color.White)
            {
                Location = new Vector(32, 32 + i * 12),
            }).ToArray();

            Root.Add(new DEText("ジュークボックス", Color.White)
            {
                Location = new Vector(16, 16),
            });

            foreach (var item in menuItems)
            {
                Root.Add(item);
            }
        }