Package nl.nuggit.randomstranger.language

Examples of nl.nuggit.randomstranger.language.Discussion


            }
        }
    }

    private void continueDiscussion() {
        Discussion discussion = memory.currentDiscussion();
        if (!discussion.lastSpokenBy(name) && discussion.getSilenceSeconds() > 2) {
            String response = determineResponse(discussion);
            if (response != null) {
                send(response);
            }
        }
        else if (discussion.lastSpokenBy(name) && memory.getAloneSeconds() > 60) {
            send("I guess nobody wants to talk to me.");
            memory.killDiscussion();
        }
        else if (discussion.lastSpokenBy(name) && discussion.getSilenceSeconds() > 30) {
            send("helloooooo?");
        }
    }
View Full Code Here

TOP

Related Classes of nl.nuggit.randomstranger.language.Discussion

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.