Class AreaQuery

java.lang.Object
org.luwrain.core.Event
org.luwrain.core.AreaQuery
Direct Known Subclasses:
BackgroundSoundQuery, BeginListeningQuery, CurrentDirQuery, RegionTextQuery, UniRefAreaQuery, UniRefHotPointQuery, UrlAreaQuery, UrlHotPointQuery

public abstract class AreaQuery extends Event
  • Field Details

  • Constructor Details

    • AreaQuery

      public AreaQuery(int code)
  • Method Details

    • getQueryCode

      public final int getQueryCode()
    • getAnswer

      public abstract Object getAnswer()
    • hasAnswer

      public boolean hasAnswer()
    • answerTaken

      protected void answerTaken()
    • secondAnswerCheck

      protected void secondAnswerCheck()
    • ask

      public static boolean ask(Area area, AreaQuery query)