public Cultist CreateRandomCultist() { int sprite = Random.Range(0, settings.cultistThumbnails.Length); string cultistName = settings.cultistNames[Random.Range(0, settings.cultistNames.Length)]; Cultist result = data.CreateCultist(cultistName, sprite); return(result); }
public Cultist CreateCultist(string _name, int _sprite) { Cultist result = new Cultist(idIndex, _name, _sprite); idIndex++; debug.Log(result + " created.", DebugInstance.Importance.Lesser); return(result); }
public void RemoveCultist(Cultist _cultist) { cultists.Remove(_cultist); debug.Log(_cultist + " removed from the Cult's list.", DebugInstance.Importance.Lesser); }
public void AddCultist(Cultist _cultist) { cultists.Add(_cultist); debug.Log(_cultist + " added to the Cult's list.", DebugInstance.Importance.Lesser); }
public void SetCultist(Cultist _cultist) { //photo.sprite = _cultist.spriteIndex; descriptionField.text = _cultist.cultistName + ", " + _cultist.age + "."; }
public void Init(Cultist _cultist) { cultist = _cultist; }