"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Functional_1 = require("../../../../Class/Functional");
const _ids_1 = require("../../../_ids");
class Play extends Functional_1.Functional {
    constructor(system) {
        super({
            i: ['unit', 'opt'],
            o: [],
        }, {
            input: {
                unit: {
                    ref: true,
                },
            },
        }, system, _ids_1.ID_PLAY);
    }
    f({ unit, opt }, done) {
        unit.$play({});
        done();
    }
}
exports.default = Play;
//# sourceMappingURL=index.js.map