Exemple #1
0
 private void Events_OnLoad(object sender, EventArgs e)
 {
     jungleStacker.OnLoad();
     Events.OnClose               += Events_OnClose;
     Game.OnIngameUpdate          += Game_OnUpdate;
     ObjectManager.OnAddEntity    += ObjectManager_OnAddEntity;
     ObjectManager.OnRemoveEntity += ObjectManager_OnRemoveEntity;
     Player.OnExecuteOrder        += Player_OnExecuteAction;
 }
Exemple #2
0
 protected override void OnActivate()
 {
     jungleStacker = new JungleStacker();
     jungleStacker.OnLoad();
     Game.OnUpdate                += Game_OnUpdate;
     ObjectManager.OnAddEntity    += ObjectManager_OnAddEntity;
     ObjectManager.OnRemoveEntity += ObjectManager_OnRemoveEntity;
     Player.OnExecuteOrder        += Player_OnExecuteAction;
 }