Ejemplo n.º 1
0
        public Paragraph(Novel inbound)
        {
            int quotes = 0;

            for (int i = 0; i <= 3; i++) {
                Sentence nextSentence = new Sentence (inbound);
                sentences.Add (nextSentence);
                text = (text + " " + nextSentence.ToString ());
            }
            Smooth ();
        }
Ejemplo n.º 2
0
        public Paragraph(Novel inbound)
        {
            int quotes = 0;

            for (int i = 0; i <= 3; i++)
            {
                Sentence nextSentence = new Sentence(inbound);
                sentences.Add(nextSentence);
                text = (text + " " + nextSentence.ToString());
            }
            Smooth();
        }
Ejemplo n.º 3
0
        public override void BuildOptions(Architect inbound)
        {
            //Okay, it isn't actually building options! Or not in the normal sense. But the concept of "what happens next" is still valid.
            Sentence mySentence;

            new Paragraph (inbound.MyNovel).ToString();

            if (inbound.MyChapter.Number < inbound.MyOutline.PlannedChapters) {
                mySentence = new Sentence (inbound.MyNovel);
                text = (text + "\n\n*finish Chapter " + (inbound.MyChapter.Number + 1));
                if (mySentence.WordCount < 5) {
                    text = (text + ": " + mySentence.ToString ());
                }
            }
            else {
                text = (text + "*finish THE END");
            }
        }
Ejemplo n.º 4
0
        public override void BuildOptions(Architect inbound)
        {
            //Okay, it isn't actually building options! Or not in the normal sense. But the concept of "what happens next" is still valid.
            Sentence mySentence;

            new Paragraph(inbound.MyNovel).ToString();

            if (inbound.MyChapter.Number < inbound.MyOutline.PlannedChapters)
            {
                mySentence = new Sentence(inbound.MyNovel);
                text       = (text + "\n\n*finish Chapter " + (inbound.MyChapter.Number + 1));
                if (mySentence.WordCount < 5)
                {
                    text = (text + ": " + mySentence.ToString());
                }
            }
            else
            {
                text = (text + "*finish THE END");
            }
        }