Exemple #1
0
 public static void Load()
 {
     Traps.Load();
     Turrets.Load();
     HeadQuarters.Load();
     Heroes.Load();
 }
Exemple #2
0
        public static void Load()
        {
            Obj_AI_Base.OnSpellCast   += Obj_AI_Base_OnSpellCast;
            Obj_AI_Base.OnBasicAttack += Obj_AI_Base_OnBasicAttack;
            Spellbook.OnStopCast      += Spellbook_OnStopCast;
            Game.OnUpdate             += Game_OnUpdate;
            Logic.Mechanics.LoadFlash();
            Traps.Load();

            foreach (var module in Variables.moduleList)
            {
                module.OnLoad();
            }
        }