/// <summary> /// 플레이어를 불러온다. /// </summary> /// <param name="name">이름</param> /// <param name="age">나이</param> /// <param name="major">전공</param> /// <param name="money">돈</param> /// <param name="study">지식</param> /// <param name="society">인싸력</param> /// <param name="love">사랑의 매</param> public void LoadPlayer(string name, int age, string major, int money, int study, int society, int love, int hp) { playerInformation = new PlayerInformation(name, age, major, money, study, society, love, hp); LoadStatus(); }
/// <summary> /// 새로운 캐릭터 생성 /// </summary> public void NewPlayer() { playerInformation = new PlayerInformation("한림이", 20, "융합소프트웨어학과", 1000, 5, 5, 5, 100); LoadStatus(); }