public override void act(iGUIElement caller) { m_curIndex = 0; m_selectionIndicator.setPosition(_GetItemPositionForSelector(m_curIndex)); m_currentPlayer = GameManager.GetManager().currentPlayer; m_pickup.passive = !m_currentPlayer.CanPickupItemOnGround(); m_stamp.passive = !m_currentPlayer.CanStampAndStill(); m_jump.passive = !m_currentPlayer.CanJump(); m_rest.passive = !m_currentPlayer.CanRest(); UserInput uim = UserInput.GetUserInput(); uim.AddToDpadEvent(DpadButton); uim.AddToConformCancelEvent(ConfirmButton, CancelButton); uim.AddToActionMenuEvent(CancelButton); }