2017-02-15 21:15:31 +00:00
|
|
|
/// <reference path="BaseLogEvent.ts"/>
|
|
|
|
|
|
|
|
module TS.SpaceTac {
|
|
|
|
/**
|
|
|
|
* Event logged when a drone applies its effects
|
|
|
|
*/
|
2017-03-09 17:11:00 +00:00
|
|
|
export class DroneAppliedEvent extends BaseLogShipEvent {
|
2017-02-15 21:15:31 +00:00
|
|
|
// Pointer to the drone
|
|
|
|
drone: Drone;
|
|
|
|
|
|
|
|
// List of impacted ships
|
|
|
|
ships: Ship[];
|
|
|
|
|
|
|
|
constructor(drone: Drone, ships: Ship[]) {
|
|
|
|
super("droneapply", drone.owner);
|
|
|
|
|
|
|
|
this.drone = drone;
|
|
|
|
this.ships = ships;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|