Beispiel #1
0
    private void startUserPhase()
    {
        PlayerTurnAnimation playerTurnAnimation = GUIManager.instance.createPlayerTurnAnimation();

        playerTurnAnimation.init();
        playerTurnAnimation.e_end += startPlayerTurn;
    }
Beispiel #2
0
    private void catchNoGoalEnd()
    {
        ApplicationFactory.instance.m_messageBus.CurrentSceneEnded -= catchNoGoalEnd;

        //Set new turn
        PlayerTurnAnimation playerTurnAnimation = GUIManager.instance.createPlayerTurnAnimation();

        playerTurnAnimation.init();
        playerTurnAnimation.e_end += startPlayerTurn;
    }
Beispiel #3
0
    private void cutNoPassEnd()
    {
        m_cutInfo.m_cutPlayer.cutEnd -= cutNoPassEnd;

        //Set new turn
        PlayerTurnAnimation playerTurnAnimation = GUIManager.instance.createPlayerTurnAnimation();

        playerTurnAnimation.init();
        playerTurnAnimation.e_end += startPlayerTurn;
    }
Beispiel #4
0
    private void tackleNoDribbleEnd()
    {
        tackleEnded -= tackleNoDribbleEnd;

        //Set new turn
        PlayerTurnAnimation playerTurnAnimation = GUIManager.instance.createPlayerTurnAnimation();

        playerTurnAnimation.init();
        playerTurnAnimation.e_end += startPlayerTurn;
    }
Beispiel #5
0
    public PlayerTurnAnimation createPlayerTurnAnimation()
    {
        PlayerTurnAnimation playerTurnAnimation = (GameObject.Instantiate(m_playerTurnAnimationPrefab) as GameObject).GetComponent <PlayerTurnAnimation>();

        return(playerTurnAnimation);
    }