Перейти к основному содержанию

abstractRecipeType

Index

Constructors

constructor

  • new RecipeType(name: string, icon: any, content: { drawing?: DrawingSet; elements: {}; params?: BindingsSet }): RecipeType
  • Parameters

    • name: string
    • icon: any
    • content: { drawing?: DrawingSet; elements: {}; params?: BindingsSet }
      • optionaldrawing: DrawingSet
      • elements: {}
      • optionalparams: BindingsSet

    Returns RecipeType

Methods

abstractgetAllList

getList

  • getList(id: number, data: number, isUsage: boolean): RecipePattern[]
  • Parameters

    • id: number
    • data: number
    • isUsage: boolean

    Returns RecipePattern[]

onOpen

  • onOpen(elements: HashMap<string, Element>, recipe: RecipePattern): void
  • Parameters

    Returns void

setDescription

  • setDescription(text: string): this
  • Parameters

    • text: string

    Returns this

setTankLimit

  • setTankLimit(limit: number | {}): this
  • Parameters

    • limit: number | {}

      Returns this