public void SavePlayerData()
 {
     playerLevel.SaveLevelInfo();
     GlobalControl.Instance.attackList = playerUnit.attackList;
     GlobalControl.Instance.maxHP      = playerUnit.maxHP;
     GlobalControl.Instance.currentHP  = playerUnit.currentHP;
     GlobalControl.Instance.maxSP      = playerUnit.maxSP;
     GlobalControl.Instance.currentSP  = playerUnit.currentSP;
     GlobalControl.Instance.pt         = playerUnit.pt;
 }
Beispiel #2
0
 public void SavePlayerData()
 {
     playerLevel.SaveLevelInfo();
     playerUnit.savePlayerData();
 }