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