public final class SpawnController
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static SpawnController |
getInstance()
Return the singleton instance of SpawnController.
|
void |
spawnVehicles(java.lang.String selectedPoint,
java.lang.String selectedType,
java.lang.Integer selectedTimer,
boolean autoStart)
This method will spawn one vehicle or will start a timer of spawn reading fields
of the panel stored in SpawnController.
|
void |
stopAllTimers()
Stop all running timers of spawn.
|
public static SpawnController getInstance()
public void spawnVehicles(java.lang.String selectedPoint, java.lang.String selectedType, java.lang.Integer selectedTimer, boolean autoStart)
public void stopAllTimers()