org.argosfields.model
Class TransportUnit
java.lang.Object
   org.argosfields.model.Unit
org.argosfields.model.Unit
       org.argosfields.model.TransportUnit
org.argosfields.model.TransportUnit
- All Implemented Interfaces: 
- ITransport
- Direct Known Subclasses: 
- AircraftCarriers, Hovercraft, PersonnelCarriers, TransportPlanes, Troopships, TroopTrain
- public abstract class TransportUnit- extends Unit- implements ITransport
TransportUnit.java
- Version:
- $Revision: 1.1 $ $Date: 2003/10/19 08:33:43 $
- Author:
- Xavier Cho
 
 
 
 
| Methods inherited from class org.argosfields.model.Unit | 
| canTraverse, equals, forName, getBuildCost, getDefensePoint, getFacing, getFireSoundName, getIconIndex, getIconStartIndex, getMoveSoundName, getName, getPlayer, getRank, getStrength, getTerrainFlags, getTypeId, getWeight, hashCode, setFacing, setPlayer, setRank, setStrength, toString | 
 
 
TransportUnit
public TransportUnit()
getTransportSlots
public abstract int getTransportSlots()
- 
- Specified by:
- getTransportSlotsin interface- ITransport
 
- 
- See Also:
- ITransport.getTransportSlots()
 
getMinUnitWeight
public abstract int getMinUnitWeight()
- 
- Specified by:
- getMinUnitWeightin interface- ITransport
 
- 
- See Also:
- ITransport.getMinUnitWeight()
 
getMaxUnitWeight
public abstract int getMaxUnitWeight()
- 
- Specified by:
- getMaxUnitWeightin interface- ITransport
 
- 
- See Also:
- ITransport.getMaxUnitWeight()
 
getAvailableTransportSlots
public int getAvailableTransportSlots()
- 
- Specified by:
- getAvailableTransportSlotsin interface- ITransport
 
- 
- See Also:
- ITransport.getAvailableTransportSlots()
 
getUnitCount
public int getUnitCount()
- 
- Specified by:
- getUnitCountin interface- ITransport
 
- 
- See Also:
- ITransport.getUnitCount()
 
unload
public Unit unload(int index)
- 
- Specified by:
- unloadin interface- ITransport
 
- 
- See Also:
- ITransport.unload(int)
 
load
public void load(Unit unit)
- 
- Specified by:
- loadin interface- ITransport
 
- 
- See Also:
- ITransport.load(org.argosfields.model.Unit)
 
canLoad
public boolean canLoad(Unit unit)
- 
- Specified by:
- canLoadin interface- ITransport
 
- 
- See Also:
- ITransport.canLoad(org.argosfields.model.Unit)
 
getUnits
public Unit[] getUnits()
- 
- Specified by:
- getUnitsin interface- ITransport
 
- 
- See Also:
- ITransport.getUnits()
 
Copyright ©  Gnome Korea. All Rights Reserved.