aim4.map
Class SpawnPoint.SpawnSpec

java.lang.Object
  extended by aim4.map.SpawnPoint.SpawnSpec
Enclosing class:
SpawnPoint

public static class SpawnPoint.SpawnSpec
extends Object

The specification of a spawn.


Constructor Summary
SpawnPoint.SpawnSpec(double spawnTime, VehicleSpec vehicleSpec, Road destinationRoad)
          Create a spawn specification.
 
Method Summary
 Road getDestinationRoad()
          Get the destination road.
 double getSpawnTime()
          Get the spawn time.
 VehicleSpec getVehicleSpec()
          Get the vehicle specification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpawnPoint.SpawnSpec

public SpawnPoint.SpawnSpec(double spawnTime,
                            VehicleSpec vehicleSpec,
                            Road destinationRoad)
Create a spawn specification.

Parameters:
spawnTime - the spawn time
vehicleSpec - the vehicle specification
destinationRoad - the destination road
Method Detail

getSpawnTime

public double getSpawnTime()
Get the spawn time.

Returns:
the spawn time

getVehicleSpec

public VehicleSpec getVehicleSpec()
Get the vehicle specification.

Returns:
the vehicle specification

getDestinationRoad

public Road getDestinationRoad()
Get the destination road.

Returns:
the destination road


Copyright © 2011. All Rights Reserved.