Class Joke

java.lang.Object
lukas.wais.smart.mirror.model.Joke

public class Joke
extends java.lang.Object
In this class the jokes and tongue twisters are stored.
Author:
Lukas Wais
  • Constructor Summary

    Constructors 
    Constructor Description
    Joke()  
  • Method Summary

    Modifier and Type Method Description
    void tell()
    Chooses a random String from the List and calls Polly to speak it.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Joke

      public Joke()
  • Method Details

    • tell

      public void tell()
      Chooses a random String from the List and calls Polly to speak it.