The Idea Sources: MoodyPolly.java MoodyPollyApplet.java Parsification.java |
polly = new MoodyPolly("polly"); molly = new MoodyPolly("molly"); polly.talksTo(molly); molly.talksTo(polly); polly.stopsTalkingTo(molly); allListenTo(polly); polly.whatIsMyName(); polly.whoIsHearingMe(); molly.whoIsHearingMe(); polly.isFeeling("sad"); polly.isFeeling("angry"); polly.isFeeling("shy"); polly.isFeeling("mean"); polly.isFeeling("serious"); polly.isFeeling("playful", 7); molly.isFeeling("mean"); molly.isFeeling("happy",4); polly.printMoods(); molly.printMoods(); polly.smiles(); polly.cries(); polly.yells(); polly.jokes(); polly.scolds(); molly.jokes(); molly.scolds(); molly.teases(); molly.avoids(); |