Ejemplo n.º 1
0
        public void Randomize(Patch in_Patch, ISeed in_Seed)
        {
            this.EnemyTypes.Clear();
            this.EnemiesByType.Clear();
            this.RoomGroups.Clear();
            this.EnemyInstances.Clear();

            this.ReadEnemyInstancesFromFile();
            this.ChangeRoomSpriteBankSlots(in_Patch);
            this.InitializeEnemies();
            this.InitializeRooms();
            this.Execute(in_Patch, in_Seed);

            MiscHacks.DisableChangkeyMakerPaletteSwap(in_Patch);
        }
Ejemplo n.º 2
0
        public void Randomize(Patch p, Random r)
        {
            EnemyTypes.Clear();
            EnemiesByType.Clear();
            RoomGroups.Clear();
            EnemyInstances.Clear();

            ReadEnemyInstancesFromFile();
            ChangeRoomSpriteBankSlots(p);
            InitializeEnemies();
            InitializeRooms();
            Execute(p, r);

            MiscHacks.DisableChangkeyMakerPaletteSwap(p);
        }