コード例 #1
0
    protected override void ChengeState_toActive()
    {
        base.ChengeState_toActive();
        var cf = new CharcterField(CharcterField.GetParty(), new List <EnemyChar>());

        _playerField.SetData(cf);
    }
コード例 #2
0
 public void SetData(CharcterField cf)
 {
     _mycf = cf;
     for (int i = 0; i < cf._playerList.Count; i++)
     {
         _playerDisplayers[i].SetChar(cf._playerList[i]);
         _playerDisplayers[i].Activate();
     }
     for (int i = 0; i < cf._enemyList.Count; i++)
     {
         _enemyDisplays[i].SetChar(cf._enemyList[i]);
         _enemyDisplays[i].Activate();
     }
 }