1 package org.argosfields.model.unit;
2
3 import org.argosfields.model.IMobile;
4 import org.argosfields.model.TileDefinitions;
5 import org.argosfields.model.TransportUnit;
6
7 /***
8 * TransportPlanes.java
9 *
10 * @author Xavier Cho
11 * @version $Revision: 1.2 $ $Date: 2003/10/26 04:48:03 $
12 */
13 public final class TransportPlanes extends TransportUnit implements IMobile {
14
15 public static final String TYPE_ID = "Transport Planes";
16
17 public static final int TERRAIN_FLAGS = TileDefinitions.TT_STD_AIR;
18
19 public TransportPlanes() {
20 }
21
22 /***
23 * @see org.argosfields.model.Unit#getIconStartIndex()
24 */
25 protected int getIconStartIndex() {
26 return 6;
27 }
28
29 /***
30 * @see org.argosfields.model.Unit#getTerrainFlags()
31 */
32 protected int getTerrainFlags() {
33 return TERRAIN_FLAGS;
34 }
35
36 /***
37 * @see org.argosfields.model.Unit#getTypeId()
38 */
39 public String getTypeId() {
40 return TYPE_ID;
41 }
42
43 /***
44 * @see org.argosfields.model.Unit#getBuildCost()
45 */
46 public int getBuildCost() {
47 return 22;
48 }
49
50 /***
51 * @see org.argosfields.model.Unit#getDefensePoint()
52 */
53 public int getDefensePoint() {
54 return 12;
55 }
56
57 /***
58 * @see org.argosfields.model.Unit#getWeight()
59 */
60 public int getWeight() {
61 return 6;
62 }
63
64 /***
65 * @see org.argosfields.model.IMobile#getMovesPerTurn()
66 */
67 public int getMovesPerTurn() {
68 return 7;
69 }
70
71 /***
72 * @see org.argosfields.model.TransportUnit#getTransportSlots()
73 */
74 public int getTransportSlots() {
75 return 10;
76 }
77
78 /***
79 * @see org.argosfields.model.TransportUnit#getMinUnitWeight()
80 */
81 public int getMinUnitWeight() {
82 return 2;
83 }
84
85 /***
86 * @see org.argosfields.model.TransportUnit#getMaxUnitWeight()
87 */
88 public int getMaxUnitWeight() {
89 return 3;
90 }
91 }
This page was automatically generated by Maven