123456789101112131415161718 |
- import { Command } from './command';
- export class While extends Command {
- constructor (expression, commandBlock) {
- super();
- this.expression = expression;
- this.commandBlock = commandBlock;
- }
- get commands () {
- return this.commandBlock.commands;
- }
- get testFirst () {
- return true;
- }
- }
|