org.argosfields.model
Class TransportUnit
java.lang.Object
org.argosfields.model.Unit
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:
getTransportSlots
in interface ITransport
- See Also:
ITransport.getTransportSlots()
getMinUnitWeight
public abstract int getMinUnitWeight()
- Specified by:
getMinUnitWeight
in interface ITransport
- See Also:
ITransport.getMinUnitWeight()
getMaxUnitWeight
public abstract int getMaxUnitWeight()
- Specified by:
getMaxUnitWeight
in interface ITransport
- See Also:
ITransport.getMaxUnitWeight()
getAvailableTransportSlots
public int getAvailableTransportSlots()
- Specified by:
getAvailableTransportSlots
in interface ITransport
- See Also:
ITransport.getAvailableTransportSlots()
getUnitCount
public int getUnitCount()
- Specified by:
getUnitCount
in interface ITransport
- See Also:
ITransport.getUnitCount()
unload
public Unit unload(int index)
- Specified by:
unload
in interface ITransport
- See Also:
ITransport.unload(int)
load
public void load(Unit unit)
- Specified by:
load
in interface ITransport
- See Also:
ITransport.load(org.argosfields.model.Unit)
canLoad
public boolean canLoad(Unit unit)
- Specified by:
canLoad
in interface ITransport
- See Also:
ITransport.canLoad(org.argosfields.model.Unit)
getUnits
public Unit[] getUnits()
- Specified by:
getUnits
in interface ITransport
- See Also:
ITransport.getUnits()
Copyright © Gnome Korea. All Rights Reserved.