public class Race
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Race |
None |
static Race |
Protoss |
static Race |
Random |
static Race |
Terran |
static Race |
Unknown |
static Race |
Zerg |
Modifier and Type | Method and Description |
---|---|
UnitType |
getCenter()
Retrieves the default resource center UnitType that is used to create expansions for this Race.
|
UnitType |
getRefinery()
Retrieves the default structure UnitType for this Race that is used to harvest gas from Vespene Geysers.
|
UnitType |
getSupplyProvider()
Retrieves the default supply provider UnitType for this race that is used to construct units.
|
UnitType |
getTransport()
Retrieves the default transport UnitType for this race that is used to transport ground units across the map.
|
UnitType |
getWorker()
Retrieves the default worker type for this Race.
|
java.lang.String |
toString() |
public static final Race Zerg
public static final Race Terran
public static final Race Protoss
public static final Race Random
public static final Race None
public static final Race Unknown
public java.lang.String toString()
toString
in class java.lang.Object
public UnitType getWorker()
public UnitType getCenter()
public UnitType getRefinery()
public UnitType getTransport()
public UnitType getSupplyProvider()