1
0
Fork 0
spacetac/src/core/events/EffectAddedEvent.ts

16 lines
394 B
TypeScript
Raw Normal View History

/// <reference path="BaseLogEvent.ts"/>
2017-02-09 00:00:35 +00:00
module TS.SpaceTac {
2017-01-23 23:07:54 +00:00
// Event logged when a sticky effect is added to a ship
2017-03-09 17:11:00 +00:00
export class EffectAddedEvent extends BaseLogShipEvent {
// Pointer to the effect
2017-01-23 23:07:54 +00:00
effect: StickyEffect;
2017-01-23 23:07:54 +00:00
constructor(ship: Ship, effect: StickyEffect) {
super("effectadd", ship);
this.effect = effect;
}
}
}