public class RawUnitFactory extends UnitFactory
Constructor and Description |
---|
RawUnitFactory() |
Modifier and Type | Method and Description |
---|---|
UnitImpl |
createUnit(int unitId,
UnitType unitType,
int timeSpotted)
Creates a unit for given ID and type.
|
getBattleCruiser, getDropship, getFirebat, getGhost, getGoliath, getMarine, getMedic, getMineralPatch, getRefinery, getScienceVessel, getSCV, getSiegeTank, getValkyrie, getVespeneGeyser, getVulture, getWraith, setBW
public UnitImpl createUnit(int unitId, UnitType unitType, int timeSpotted)
UnitFactory
createUnit
in class UnitFactory
unitId
- ID of the unit to createunitType
- type of the unit to createtimeSpotted
- time stamp when unit first appeared