Beispiel #1
0
 public Player(PlayerSave save)
 {
     this.name  = save.name;
     this.stats = save.playerStats;
     this.shotCoordProbabilities = new ShotCoordProbabilities(save.shotCoordProbabilities);
     this.modifierList           = save.modifierList;
     playstyleDeck      = new PlaystyleDeck(save.playstyleDeckIDs);
     equippedPlaystyles = new EquippedPlaystyles(save.equippedPlaystylesIDs);
 }
Beispiel #2
0
 public Player(string name)
 {
     this.name = name;
     stats     = new PlayerStats();
     shotCoordProbabilities = new ShotCoordProbabilities();
     modifierList           = new ModifierList();
     playstyleDeck          = new PlaystyleDeck();
     equippedPlaystyles     = new EquippedPlaystyles();
 }
Beispiel #3
0
 public Player()
 {
     name  = "Jean Valjean";
     stats = new PlayerStats();
     shotCoordProbabilities = new ShotCoordProbabilities();
     modifierList           = new ModifierList();
     playstyleDeck          = new PlaystyleDeck();
     equippedPlaystyles     = new EquippedPlaystyles();
 }
 public PlayerMatchInstance(string name)
 {
     this.name = name;
     playerStats = new PlayerStats();
     equippedPlaystyles = new EquippedPlaystyles();
     currentPlaystyle = equippedPlaystyles.GetPlaystyle(0);
     playerBaseModList = new ModifierList();
     playerShotCoordProbabilities = new ShotCoordProbabilities();
     RefreshModListWithPlaystyle();
 }
 public PlayerMatchInstance()
 {
     name = PlayerFirstNameGenerator.GetFirstName();
     playerStats = new PlayerStats();
     equippedPlaystyles = new EquippedPlaystyles();
     currentPlaystyle = equippedPlaystyles.GetPlaystyle(0);
     playerBaseModList = new ModifierList();
     playerShotCoordProbabilities = new ShotCoordProbabilities();
     RefreshModListWithPlaystyle();
 }
 public PlayerMatchInstance(PlayerSave player)
 {
     Debug.Log("Creating PMI with PlayerSave");
     name = player.name;
     playerStats = player.playerStats;
     equippedPlaystyles = player.GetEquippedPlaystyles();
     currentPlaystyle = equippedPlaystyles.GetPlaystyle(0);
     playerBaseModList = player.modifierList;
     playerShotCoordProbabilities = player.GetShotCoordProbabilities();
     RefreshModListWithPlaystyle();
 }