예제 #1
0
파일: GameControl.cs 프로젝트: bbsmith1/LPP
    //public void Load()
    //{
    //    var pd = _Storage.Load();
    //    health = pd.health;
    //    experience = pd.experience;

    //}
    //public void Save()
    //{
    //    _Storage.Save(new PlayerData(health, experience));
    //}

    private void Load()
    {
        PlayerData pd = _Storage.Load();

        Health     = pd.Health;
        Experience = pd.Experience;
    }