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

16 lines
392 B
TypeScript
Raw Normal View History

/// <reference path="BaseLogEvent.ts"/>
module SpaceTac.Game {
2017-01-23 23:07:54 +00:00
// Event logged when a sticky effect is added to a ship
export class EffectAddedEvent extends BaseLogEvent {
// 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;
}
}
}