UNPKG

nodito

Version:

Una librería para aprender juegos por turnos en node.

14 lines 391 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const ClientMessage_1 = require("./ClientMessage"); class Ping extends ClientMessage_1.ClientMessage { constructor() { super(...arguments); this.type = "ping"; } exec(message, sender) { sender.send({ type: "pong" }); } } exports.Ping = Ping; //# sourceMappingURL=Ping.js.map