while.js 248 B

123456789101112131415
  1. export class While {
  2. constructor (expression, commandBlock) {
  3. this.expression = expression;
  4. this.commandBlock = commandBlock;
  5. }
  6. get commands () {
  7. return this.commandBlock.commands;
  8. }
  9. get testFirst () {
  10. return true;
  11. }
  12. }