10 lines
296 B
TypeScript
10 lines
296 B
TypeScript
import { Command } from "@colyseus/command";
|
|
import { CardGameState } from "../schema/CardGameState";
|
|
import {Wait} from "./Wait";
|
|
|
|
export class AsyncSequence extends Command {
|
|
execute() {
|
|
return [new Wait().setPayload(1), new Wait().setPayload(2), new Wait().setPayload(3)];
|
|
}
|
|
}
|