View Javadoc

1   /*
2   @See License.txt@
3    */
4   
5   package spellcast.beings;
6   
7   import java.io.*;
8   
9   /***
10   * Implementation of the Neuter Gender Class.
11   * @author Barrie Treloar
12   */
13  public class Neuter 
14      extends Gender
15      implements Serializable
16  {
17      public static final String GENDER = "Neuter";
18  
19      public Neuter()
20      {
21          super( GENDER );
22      }
23  
24      /***
25       * Return the "himself" like pronoun.
26       */
27      public String pro_himself()
28      {
29          return "hirself";
30      }
31  
32      /***
33       * Return the "him" like pronoun.
34       */
35      public String pro_him()
36      {
37          return "hir";
38      }
39  
40      /***
41       * Return the "he" like pronoun.
42       */
43      public String pro_he()
44      {
45          return "ke";
46      }
47  
48      /***
49       * Return the "his" like pronoun.
50       */ 
51      public String pro_his()
52      {
53          return "hir";
54      }
55  
56  }
57