コード例 #1
0
 /// <summary>
 /// Creates a new game for the player
 /// </summary>
 /// <param name="playerData"></param>
 public void NewGame(PlayerData playerData)
 {
     playerData = saveLoadService.NewGame(playerData.playerId, playerData.playerName, maxHealth, maxEndurance);
     LoadPlayer();
 }