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

20 lines
521 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 EffectDurationChangedEvent extends BaseLogShipEvent {
// Pointer to the effect
2017-01-23 23:07:54 +00:00
effect: StickyEffect;
// Previous duration
previous: number;
2017-01-23 23:07:54 +00:00
constructor(ship: Ship, effect: StickyEffect, previous: number) {
super("effectduration", ship);
this.effect = effect;
this.previous = previous;
}
}
}