예제 #1
0
        public void Play(Hike nowHike, Character subject)
        {
            int prg = nowHike.GetProgressChanger();

            nowHike.SetProgressChanger(prg + progressChange);
            consequence.Play(nowHike, subject);
        }
예제 #2
0
        public void play(Hike nowHike)
        {
            Character subject;

            subject = PlayerInteractions.ChooseCharacter(nowHike);
            consequence.Play(nowHike, subject);
        }
예제 #3
0
        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);
            }
        }
예제 #4
0
 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);
         }
     }
 }
예제 #5
0
 public void Play(Hike nowHike, Character subject)
 {
     subject.Rest(rest);
     consequence.Play(nowHike, subject);
 }
예제 #6
0
 public void Play(Hike nowHike, Character subject)
 {
     subject.ExhaustCharacter(exhaust);
     consequence.Play(nowHike, subject);
 }
예제 #7
0
 public void Play(Hike nowHike, Character subject)
 {
     subject.StressCharacter(rlx);
     consequence.Play(nowHike, subject);
 }
예제 #8
0
 public void Play(Hike nowHike, Character subject)
 {
     nowHike.AddItem(new Item(id));
     consequence.Play(nowHike, subject);
 }
예제 #9
0
 public void Play(Hike nowHike, Character subject)
 {
     subject.Eat(eat);
     consequence.Play(nowHike, subject);
 }
예제 #10
0
 public void Play(Hike nowHike, Character subject)
 {
     subject.HungerCharacter(hunger);
     consequence.Play(nowHike, subject);
 }
예제 #11
0
 public void Play(Hike nowHike, Character subject)
 {
     subject.Heal(heal);
     consequence.Play(nowHike, subject);
 }
예제 #12
0
 public void Play(Hike nowHike, Character subject)
 {
     subject.DamageCharacter(damage);
     consequence.Play(nowHike, subject);
 }
예제 #13
0
 public bool Use(Hike nowHike, Character subject)
 {
     consequence.Play(nowHike, subject);
     return(consume);
 }