UNPKG

@runox-game/game-engine

Version:
21 lines (20 loc) 539 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GameEndEvent = void 0; /** * Event that fires when the game ends */ var GameEndEvent = /** @class */ (function () { /** * Event that fires when the game ends * * @param winner - game winner * @param score - game winner score */ function GameEndEvent(winner, score) { this.winner = winner; this.score = score; } return GameEndEvent; }()); exports.GameEndEvent = GameEndEvent;