public OlafCore(OlafSpells olafSpells, Orbwalking.Orbwalker olafOrbwalker, OlafMenu olafMenu) { q = olafSpells.Q; w = olafSpells.W; e = olafSpells.E; r = olafSpells.R; player = ObjectManager.Player; this.olafOrbwalker = olafOrbwalker; this.olafMenu = olafMenu; actionQueue = new ActionQueue(); harasQueue = new ActionQueueList(); comboQueue = new ActionQueueList(); laneClearQueue = new ActionQueueList(); autoAttackCheck = new ActionQueueCheckAutoAttack(); olafItems = new OlafOffensiveItems(olafMenu); Game.OnUpdate += Game_OnUpdate; }
public ZedCore(ZedSpells zedSpells, Orbwalking.Orbwalker zedOrbwalker, ZedMenu zedMenu, ZedShadows zedShadows, ZedEnergyChecker zedEnergy) { q = zedSpells.Q; w = zedSpells.W; e = zedSpells.E; r = zedSpells.R; player = ObjectManager.Player; ZedOrbwalker = zedOrbwalker; this.zedMenu = zedMenu; energy = zedEnergy; actionQueue = new ActionQueue(); harasQueue = new ActionQueueList(); comboQueue = new ActionQueueList(); laneClearQueue = new ActionQueueList(); lastHitQueue = new ActionQueueList(); checkAutoAttack = new ActionQueueCheckAutoAttack(); zedItems = new ZedOffensiveItems(zedMenu); shadows = zedShadows; zedComboSelector = new ZedComboSelector(zedMenu); Game.OnUpdate += Game_OnUpdate; }