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

17 lines
417 B
TypeScript

/// <reference path="BaseLogEvent.ts"/>
module TS.SpaceTac.Game {
// Event logged when the battle ended
// This is always the last event of a battle log
export class EndBattleEvent extends BaseLogEvent {
// Outcome of the battle
outcome: BattleOutcome;
constructor(outcome: BattleOutcome) {
super("endbattle");
this.outcome = outcome;
}
}
}