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

17 lines
417 B
TypeScript
Raw Normal View History

2015-02-09 00:00:00 +00:00
/// <reference path="BaseLogEvent.ts"/>
module TS.SpaceTac.Game {
2015-02-09 00:00:00 +00:00
// 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;
2015-02-09 00:00:00 +00:00
constructor(outcome: BattleOutcome) {
2015-02-09 00:00:00 +00:00
super("endbattle");
this.outcome = outcome;
2015-02-09 00:00:00 +00:00
}
}
}