Пример #1
0
 public void LoadPlayerData()
 {
     playerLevel.LoadLevelInfo();
     playerUnit.attackList = GlobalControl.Instance.attackList;
     playerUnit.maxHP      = GlobalControl.Instance.maxHP;
     playerUnit.currentHP  = GlobalControl.Instance.currentHP;
     playerUnit.maxSP      = GlobalControl.Instance.maxSP;
     playerUnit.currentSP  = GlobalControl.Instance.currentSP;
     playerUnit.pt         = GlobalControl.Instance.pt;
     //enemyUnit.thisFight = GlobalControl.Instance.nextFight;
 }
Пример #2
0
 public void LoadPlayerData()
 {
     playerLevel.LoadLevelInfo();
     playerUnit.loadPlayerData();
 }