/** * Change la force des éléments météorologiques courants */ public void SetStrengh(Strengh s){ strenghParticle = s; Init(); foreach(Particle p in particles){ if(p.strengh == strenghParticle){ foreach(GameObject go in p.particles){ go.SetActive(true); } } } }
public Dictionary <string, string> GetInfoPerso() { Dictionary <string, string> infoPerso = new Dictionary <string, string>(); infoPerso.Add("Class", this.GetType().ToString().Substring(18)); infoPerso.Add("Level", _Level.ToString()); infoPerso.Add("Strength", Strengh.ToString()); infoPerso.Add("Stamina", Stamina.ToString()); infoPerso.Add("Gold", Gold.ToString()); infoPerso.Add("Leather", Leather.ToString()); infoPerso.Add("State", ((Alive) ? "ALIVE" : "DEAD")); return(infoPerso); }