protected KeyPressMode(BaseHero baseHero, KeyPressModeMenu menu) : base(baseHero) { this.UnitManager = baseHero.UnitManager; this.menu = menu; this.UpdateHandler = UpdateManager.CreateIngameUpdate(0, false, this.OnUpdate); }
protected KeyPressMode(BaseHero baseHero, KeyPressModeMenu menu) : base(baseHero) { this.UnitManager = baseHero.UnitManager; this.menu = menu; this.UpdateHandler = UpdateManager.Subscribe(this.OnUpdate, 0, false); }
protected KeyPressAllyMode(BaseHero baseHero, KeyPressModeMenu menu) : base(baseHero, menu) { }