import { Entity } from '../../core/Entity' ; import { Editor } from './Editor' ; /** Assembly Machines Editor */ export class MachineEditor extends Editor { public constructor ( entity ) { super ( 402 , 171 , entity ) ; this . addLabel ( 140 , 56 , 'Recipe:' ) ; this . addRecipe ( 208 , 45 ) ; if ( entity . moduleSlots !== 0 ) { this . addLabel ( 140 , 94 , 'Modules:' ) ; this . addModules ( 208 , 83 ) ; } } }