コード例 #1
0
        private PictureStoryPaper ChooseYes(QuestionPaper questionPaper)
        {
            var updateYesPaper = new TextPaper("やったー");

            updateYesPaper.Prev = questionPaper;
            return(updateYesPaper);
        }
コード例 #2
0
        private PictureStoryPaper ChooseNo3(QuestionPaper questionPaper)
        {
            var updateYesPaper = new TextPaper("なっとくしてもらうには どうやらちからわざがひつようですね。");

            updateYesPaper.Prev = questionPaper;
            updateYesPaper.Next = this.ChooseNo4(questionPaper);
            return(updateYesPaper);
        }
コード例 #3
0
        private PictureStoryPaper ChooseNo4(QuestionPaper questionPaper)
        {
            var updateYesPaper = new TextPaper("こうかいしても しりませんよ!");

            updateYesPaper.Prev = questionPaper;

            var k1 = new KorashimePaper();

            updateYesPaper.Next = k1;
            k1.Prev             = updateYesPaper;
            return(updateYesPaper);
        }