// List collections public static void CreateListCollections() { // Create element lists ELists = new List <EList>(); ELists.Add(new EList("Action Scripts", Lists.Copy(Lists.ActionLabels))); ELists.Add(new EList("Battle Events", Lists.Copy(Lists.BattleEvents))); ELists.Add(new EList("Battlefields", Lists.Copy(Lists.Battlefields))); ELists.Add(new EList("Effects", Lists.Copy(Lists.Effects))); ELists.Add(new EList("Event Scripts", Lists.Copy(Lists.EventLabels))); ELists.Add(new EList("Graphic Sets", Lists.Copy(Lists.GraphicSets))); ELists.Add(new EList("Levels", Lists.Copy(Lists.Areas))); ELists.Add(new EList("Samples", Lists.Copy(Lists.Samples))); ELists.Add(new EList("Shops", Lists.Copy(Lists.Shops))); ELists.Add(new EList("Collision Maps", Lists.Copy(Lists.CollisionMaps))); ELists.Add(new EList("Songs", Lists.Copy(Lists.SPCTracks))); ELists.Add(new EList("Sound FX (Event)", Lists.Copy(Lists.SPCEventSounds))); ELists.Add(new EList("Sound FX (Battle)", Lists.Copy(Lists.SPCBattleSounds))); ELists.Add(new EList("Sprites", Lists.Copy(Lists.Sprites))); ELists.Add(new EList("Tilesets", Lists.Copy(Lists.TileSetNames))); ELists.Add(new EList("Tilemaps", Lists.Copy(Lists.Tilemaps))); ELists.Add(new EList("World Maps", Lists.Copy(Lists.WorldMaps))); // Create deep copy of keystrokes Keystrokes = Lists.Copy(Lists.Keystrokes); KeystrokesMenu = Lists.Copy(Lists.KeystrokesMenu); KeystrokesDesc = Lists.Copy(Lists.KeystrokesDesc); }
public EList Copy() { return(new EList(Name, Lists.Copy(Labels))); }