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