コード例 #1
0
        public void AddSavedSwarm(string name, EntryType type, List <Color> colors, ControlScreen screen)
        {
            SavedSwarmButton entry = new SavedSwarmButton(screen, name, type, colors, screen, bgSprite);

            entry.Initialize();
            menuEntries.Add(entry);
        }
コード例 #2
0
ファイル: ButtonSection.cs プロジェクト: kbo4sho/Swarm
 public void AddSavedSwarm(string name, EntryType type, List<Color> colors, ControlScreen screen)
 {
     SavedSwarmButton entry = new SavedSwarmButton(screen, name, type, colors, screen, bgSprite);
     entry.Initialize();
     menuEntries.Add(entry);
 }