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