public class PanzerFactory extends java.lang.Object implements BodyFactory, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static PanzerFactory |
INSTANCE |
Constructor and Description |
---|
PanzerFactory() |
Modifier and Type | Method and Description |
---|---|
Body |
createBody(Pilot pilot,
int turretIndex,
Vector pos,
Angle orientation)
Creates a
Body of the preferred type. |
java.lang.String |
toString() |
public static final PanzerFactory INSTANCE
public Body createBody(Pilot pilot, int turretIndex, Vector pos, Angle orientation)
BodyFactory
Body
of the preferred type.createBody
in interface BodyFactory
public java.lang.String toString()
toString
in class java.lang.Object