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, setBWpublic UnitImpl createUnit(int unitId, UnitType unitType, int timeSpotted)
UnitFactorycreateUnit in class UnitFactoryunitId - ID of the unit to createunitType - type of the unit to createtimeSpotted - time stamp when unit first appeared