public void Play(Hike nowHike, Character subject) { int prg = nowHike.GetProgressChanger(); nowHike.SetProgressChanger(prg + progressChange); consequence.Play(nowHike, subject); }
public void play(Hike nowHike) { Character subject; subject = PlayerInteractions.ChooseCharacter(nowHike); consequence.Play(nowHike, subject); }
public void play(Hike nowHike) { Character subject; subject = PlayerInteractions.ChooseCharacter(nowHike); if (Functions.Test(subject.GetAttributeValue(attribute), subject.GetTalentValue(attribute, skill), difficulty)) { Console.WriteLine(gDescription); gConsequence.Play(nowHike, subject); } else { Console.WriteLine(bDescription); bConsequence.Play(nowHike, subject); } }
public void play(Hike nowHike) { foreach (Character subject in nowHike.GetAllCharacters()) { if (Functions.Test(subject.GetAttributeValue(attribute), subject.GetTalentValue(attribute, skill), difficulty)) { Console.WriteLine("{0} {1}", subject.GetName(), gDescription); gConsequence.Play(nowHike, subject); } else { Console.WriteLine("{0} {1}", subject.GetName(), bDescription); bConsequence.Play(nowHike, subject); } } }
public void Play(Hike nowHike, Character subject) { subject.Rest(rest); consequence.Play(nowHike, subject); }
public void Play(Hike nowHike, Character subject) { subject.ExhaustCharacter(exhaust); consequence.Play(nowHike, subject); }
public void Play(Hike nowHike, Character subject) { subject.StressCharacter(rlx); consequence.Play(nowHike, subject); }
public void Play(Hike nowHike, Character subject) { nowHike.AddItem(new Item(id)); consequence.Play(nowHike, subject); }
public void Play(Hike nowHike, Character subject) { subject.Eat(eat); consequence.Play(nowHike, subject); }
public void Play(Hike nowHike, Character subject) { subject.HungerCharacter(hunger); consequence.Play(nowHike, subject); }
public void Play(Hike nowHike, Character subject) { subject.Heal(heal); consequence.Play(nowHike, subject); }
public void Play(Hike nowHike, Character subject) { subject.DamageCharacter(damage); consequence.Play(nowHike, subject); }
public bool Use(Hike nowHike, Character subject) { consequence.Play(nowHike, subject); return(consume); }