public class Race
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Race |
None |
static Race |
Other |
static Race |
Protoss |
static Race |
Random |
static Race |
Terran |
static Race |
Unknown |
static Race |
Zerg |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
c_str()
Returns the name of the race.
|
UnitType |
getCenter()
Returns the center unit type for the given race.
|
UnitType |
getRefinery()
Returns the refinery unit type for the given race.
|
UnitType |
getSupplyProvider()
Returns the main supply provider unit type for the given race.
|
UnitType |
getTransport()
Returns the transport unit type for the given race.
|
UnitType |
getWorker()
Returns the worker unit type for the given race.
|
java.lang.String |
toString() |
public static Race Zerg
public static Race Terran
public static Race Protoss
public static Race Random
public static Race Other
public static Race None
public static Race Unknown
public java.lang.String c_str()
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()