Class Describer.Verb

java.lang.Object
edu.uky.cs.nil.tt.world.Describer.Verb
Enclosing class:
Describer

public static class Describer.Verb extends Object
A verb is an object used in the templates of a describer. It has three parts: a base, usually the infinitive of the verb minus the word "to", the verb conjugated in second person, and the verb conjugated in third person.
Author:
Stephen G. Ware
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final String
    A basic, non-conjugated form of the verb, usually the infinitive minus the word "to", for example "be"
    final String
    The verb conjugated in second person present tense, for example "are"
    final String
    The verb conjugated in the third person present tense, for example "is"
  • Constructor Summary

    Constructors
    Constructor
    Description
    Verb(String second, String third)
    Constructs a verb from its second person and third person forms, using the second person form as the base.
    Verb(String base, String second, String third)
    Constructs a new verb with its base, second person, and third person forms.
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • base

      public final String base
      A basic, non-conjugated form of the verb, usually the infinitive minus the word "to", for example "be"
    • second

      public final String second
      The verb conjugated in second person present tense, for example "are"
    • third

      public final String third
      The verb conjugated in the third person present tense, for example "is"
  • Constructor Details

    • Verb

      public Verb(String base, String second, String third)
      Constructs a new verb with its base, second person, and third person forms.
      Parameters:
      base - a basic, non-conjugated form of the verb, usually the infinitive minus the word "to" (for example "be")
      second - the verb conjugated in second person present tense (for example "are")
      third - the verb conjugated in the third person present tense (for example "is")
    • Verb

      public Verb(String second, String third)
      Constructs a verb from its second person and third person forms, using the second person form as the base.
      Parameters:
      second - the verb conjugated in second person present tense (for example "eat")
      third - the verb conjugated in the third person present tense (for example "eats")
  • Method Details