Exemplo n.º 1
0
        public void reselectEnemy()
        {
            List <PlayerDTO> enemyPlayerDTOList = battleStartController.makeEnemyDTOList();

            PlayerTextManager.drowNameAndJob(enemyNameTextList, enemyPlayerDTOList);
            PlayerTextManager.drowStatus(enemyStatusTextList, enemyPlayerDTOList);
            this.buttonInteractable(enemyButtonList);
        }
Exemplo n.º 2
0
        void Start()
        {
            charaStatusController =
                GameObject.Find("CharaStatusText").GetComponent <CharaStatusController>();
            selectedCharaDTO =
                charaStatusController.getmyTeamPlayerDTO(AllChara.AllCharaViewManager.selectedCharaNum);
            Text playerText = this.GetComponent <Text>();

            PlayerTextManager.drowNameAndStatus(playerText, selectedCharaDTO);
        }
Exemplo n.º 3
0
        public void Start()
        {
            makeCharaResultController = this.GetComponent <MakeCharaResultController>();
            acquireUseName();
            makeplayerDTO();
            if (CanAddChara())
            {
                makeCharaResultController.addmyTeamChara(playerDTO);
            }
            var playerText = this.GetComponent <Text>();

            PlayerTextManager.drowNameAndStatus(playerText, playerDTO);
        }
Exemplo n.º 4
0
 void Start()
 {
     playerButtonManager =
         GameObject.Find("Main Camera").GetComponent <PlayerButtonManager>();
     startButton.interactable = false;
     makePartyController      =
         GameObject.Find("Content").GetComponent <MakePartyController>();
     playerButtonManager
     .createPlayerButton(playerTogglePrefab,
                         makePartyController.countmyTeamTableRows(),
                         baseObject);
     makeAllList();
     PlayerTextManager.drowNameAndJob(nameTextList, allPlayerDTOList);
     PlayerTextManager.drowStatus(statusTextList, allPlayerDTOList);
 }
Exemplo n.º 5
0
        void Start()
        {
            allCharaController = GameObject.Find("Content").GetComponent <AllCharaController>();
            charaButtonList    = new List <GameObject>();
            nameTextList       =  new List <Text>();

            statusTextList =  new List <Text>();

            playerButtonManager = GameObject.Find("Main Camera").GetComponent <PlayerButtonManager>();

            playerDTOList = allCharaController.getmyTeamAllCharaList();
            playerButtonManager.createPlayerButton(charaButtonPrefab, allCharaController.countmyTeamTableRows(), baseObject);
            makeList();
            PlayerTextManager.drowNameAndJob(nameTextList, playerDTOList);
            PlayerTextManager.drowStatus(statusTextList, playerDTOList);
        }
Exemplo n.º 6
0
 void Start()
 {
     playerButtonManager   = GameObject.Find("Main Camera").GetComponent <PlayerButtonManager>();
     battleStartController = GameObject.Find("Canvas").GetComponent <BattleStartController>();
     enemyPlayerDTOList    = battleStartController.makeEnemyDTOList();
     myTeamPlayerDTOList   = battleStartController
                             .makeMyTeamDTOList(MakeParty.MakePartyViewManager.myTeamPlayerIdList);
     playerButtonManager
     .createPlayerButton(playerButton, MakePartyViewManager.CHARA_NUMBER_OF_PARTY, myTeamBasePanel);
     playerButtonManager
     .createPlayerButton(playerButton, MakePartyViewManager.CHARA_NUMBER_OF_PARTY, enemyBasePanel);
     makeList();
     PlayerTextManager.drowNameAndJob(myTeamNameTextList, myTeamPlayerDTOList);
     PlayerTextManager.drowStatus(myTeamStatusTextList, myTeamPlayerDTOList);
     PlayerTextManager.drowNameAndJob(enemyNameTextList, enemyPlayerDTOList);
     PlayerTextManager.drowStatus(enemyStatusTextList, enemyPlayerDTOList);
     this.buttonInteractable(myTeamButtonList);
     this.buttonInteractable(enemyButtonList);
 }
Exemplo n.º 7
0
    private PlayerTextManager textManager;            // Reference to the component to display the text.


    protected override void SpecificInit()
    {
        textManager = FindObjectOfType <PlayerTextManager> ();
    }