public override void act(iGUIElement caller)
    {
        UserInput uim = UserInput.GetUserInput();
        uim.AddToStatusMenuEvent(_Dismiss);

        UpdateStatus( GameManager.GetManager().currentPlayer );
    }
    public override void act(iGUIElement caller)
    {
        m_curIndex = 0;
        m_selectionIndicator.setPosition(_GetItemPositionForSelector(m_curIndex));

        UserInput uim = UserInput.GetUserInput();

        uim.AddToDpadEvent(DpadButton);
        uim.AddToConformCancelEvent(ConfirmButton, CancelButton);
    }
    /*
     * Action OnEnable of Window
     */
    public override void act(iGUIElement caller)
    {
        UserInput uim = UserInput.GetUserInput();

        uim.AddToItemMenuEvent(ItemMenuButton);
        uim.AddToDpadEvent(DpadButton);
        uim.AddToConformCancelEvent(ConfirmButton, CancelButton);

        // get current player
        m_currentPlayer = GameManager.GetManager().currentPlayer;
        // update item view
        _UpdateItemView();
    }
    /*
     * Action OnEnable of Window
     */
    public override void act(iGUIElement caller)
    {
        Debug.Log ("Hello Quest Selectors");

        UserInput uim = UserInput.GetUserInput();

        uim.AddToDpadEvent(DpadButton);
        uim.AddToConformCancelEvent(ConfirmButton, CancelButton);

        m_selectionIndicator.setHeight(itemHeight);

        // update item view
        _UpdateQuestView();

        _SelectItem(LocalGameSession.GetSession().currentQuest);
    }
    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);
    }
 public override void act(iGUIElement caller)
 {
     UserInput uim = UserInput.GetUserInput();
     uim.AddToConformCancelEvent(ConfirmButton, null);
     uim.AddToConformCancelEvent(m_delegateConfirmAction,null);
 }
Ejemplo n.º 7
0
 public static void DrawSceneElement(iGUIElement element, U.Rect newRect)
 {
     element.rect = newRect;
     DrawSceneElement(element);
 }
Ejemplo n.º 8
0
        // -------------------------------------------

        public static void DrawSceneElement(iGUIElement element)
        {
            SubGUIDelegate();
            guiQueue.SmartPush(element);
        }
Ejemplo n.º 9
0
 public static void DrawSceneElement(iGUIElement element, U.Vector3 newPos)
 {
     element.position = newPos;
     DrawSceneElement(element);
 }
 public override void act(iGUIElement caller)
 {
 }
 public override void act(iGUIElement caller)
 {
     UserInput uim = UserInput.GetUserInput();
     uim.AddToConformCancelEvent(ConfirmButton, CancelButton);
 }