for.js 292 B

123456789101112
  1. export class For {
  2. constructor (attribution, condition, increment, commandBlock) {
  3. this.attribution = attribution;
  4. this.condition = condition;
  5. this.increment = increment;
  6. this.commandBlock = commandBlock;
  7. }
  8. get commands () {
  9. return this.commandBlock.commands;
  10. }
  11. }