public static class SpawnPoint.SpawnSpec extends Object
Constructor and Description |
---|
SpawnPoint.SpawnSpec(double spawnTime,
VehicleSpec vehicleSpec,
Road destinationRoad)
Create a spawn specification.
|
Modifier and Type | Method and Description |
---|---|
Road |
getDestinationRoad()
Get the destination road.
|
double |
getSpawnTime()
Get the spawn time.
|
VehicleSpec |
getVehicleSpec()
Get the vehicle specification.
|
public SpawnPoint.SpawnSpec(double spawnTime, VehicleSpec vehicleSpec, Road destinationRoad)
spawnTime
- the spawn timevehicleSpec
- the vehicle specificationdestinationRoad
- the destination roadpublic double getSpawnTime()
public VehicleSpec getVehicleSpec()
public Road getDestinationRoad()
Copyright © 2013. All rights reserved.