2017-11-14 00:07:06 +00:00
|
|
|
/// <reference path="BaseBattleDiff.ts"/>
|
|
|
|
|
|
|
|
module TK.SpaceTac {
|
|
|
|
/**
|
|
|
|
* A projectile is fired
|
|
|
|
*
|
|
|
|
* This does not do anything, and is just there for animations
|
|
|
|
*/
|
|
|
|
export class ProjectileFiredDiff extends BaseBattleShipDiff {
|
2018-02-08 15:16:03 +00:00
|
|
|
action: RObjectId
|
2017-11-14 00:07:06 +00:00
|
|
|
target: Target
|
|
|
|
|
2018-02-08 15:16:03 +00:00
|
|
|
constructor(ship: Ship, action: TriggerAction, target: Target) {
|
2017-11-14 00:07:06 +00:00
|
|
|
super(ship);
|
|
|
|
|
2018-02-08 15:16:03 +00:00
|
|
|
this.action = action.id;
|
2017-11-14 00:07:06 +00:00
|
|
|
this.target = target;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|