ifThenElse.js 230 B

1234567891011
  1. import { Command } from './command';
  2. export class IfThenElse extends Command {
  3. constructor (condition, ifTrue, ifFalse) {
  4. super();
  5. this.condition = condition;
  6. this.ifTrue = ifTrue;
  7. this.ifFalse = ifFalse;
  8. }
  9. }