UNPKG

monopoly-shared-model

Version:

Shared model for Monopoly

19 lines 703 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const EnumActionType_1 = require("./EnumActionType"); const AbstractAction_1 = require("./AbstractAction"); class ArriveOnBoxAction extends AbstractAction_1.AbstractAction { constructor(playerName, message, fromBoxIndex, toBoxIndex) { super(EnumActionType_1.EnumActionType.ARRIVE_ON_BOX, playerName, message); this.fromBoxIndex = fromBoxIndex; this.toBoxIndex = toBoxIndex; } getFromBoxIndex() { return this.fromBoxIndex; } getToBoxIndex() { return this.toBoxIndex; } } exports.ArriveOnBoxAction = ArriveOnBoxAction; //# sourceMappingURL=ArriveOnBoxAction.js.map