public override void OnUpdate()
            {
                Window_InGameBuildQueueControlsMenu windowController = (Window_InGameBuildQueueControlsMenu)Element.Window.Controller;

                if (windowController != null)
                {
                }                                   //prevent compiler warning
                GameEntity entity = World_AIW2.Instance.GetEntityByID(Window_InGameBuildTabMenu.Instance.EntityID);

                if (entity != null && entity.IsInHoldFireMode)
                {
                    this.currentState = true;
                }
                else
                {
                    this.currentState = false;
                }
            }
 public Window_InGameBuildQueueControlsMenu()
 {
     Instance            = this;
     this.OnlyShowInGame = true;
 }