commandBlock.js 275 B

12345678910111213141516
  1. export class CommandBlock {
  2. constructor(variables, commands) {
  3. this.variables = variables;
  4. this.commands = commands;
  5. this._sourceInfo = null;
  6. }
  7. set sourceInfo (sourceInfo) {
  8. this._sourceInfo = sourceInfo;
  9. }
  10. get sourceInfo () {
  11. return this._sourceInfo;
  12. }
  13. }