rl.common.game.elements
Interface VehicleFiringListener

All Known Implementing Classes:
VehicleFiringSummary

public interface VehicleFiringListener

This interface is implement by any object wanting to capture firing information from a Vehicle object during combat resolution.


Method Summary
 void ammunitionConsumed(Vehicle vehicle, int mountIndex, int ammoConsumed)
          The vehicle has consumed ammunition for the mount referenced by the mount index.
 void vehicleFiring(Vehicle vehicle, int mountIndex)
          The vehicle is firing a weapon
 

Method Detail

vehicleFiring

void vehicleFiring(Vehicle vehicle,
                   int mountIndex)
The vehicle is firing a weapon

Parameters:
vehicle -
mountIndex -

ammunitionConsumed

void ammunitionConsumed(Vehicle vehicle,
                        int mountIndex,
                        int ammoConsumed)
The vehicle has consumed ammunition for the mount referenced by the mount index. The amount of ammo consumed is contained in the ammoConsumed param

Parameters:
vehicle -
mountIndex -
ammoConsumed -