import { ObjectEditor } from "../primitive/ObjectEditor.js";
import { EnumEditor } from "../common/EnumEditor.js";
import {
    SimulationStepType
} from "../../../../../src/engine/graphics/particles/particular/engine/simulator/SimulationStepType.js";

export class SimulationStepDefinitionEditor extends ObjectEditor {
    get schema() {
        return {
            properties: {
                type: {
                    editor: new EnumEditor(SimulationStepType)
                },
                parameters: {
                    type: Array,
                    type_parameters: [Number]
                }
            }
        };
    }
}
