import { Command } from '@colyseus/command' import { CardGameState } from '../schema/CardGameState' import { Client } from 'colyseus' export class PauseCommand extends Command { execute({ client } = this.payload) { let result = this.room.pauseAllSchedule() client.send('pause_s2c', {}) } }