Interface GenericCollection

Hierarchy

Index

Properties

Methods

Properties

public elements: Array<T>

Methods

public each(callback: (element: T, index?: number, elements?: T[]) => void): any

Parameters

  • callback: (element: T, index?: number, elements?: T[]) => void

Returns

any

public randomize(info: any): GenericCollection

Parameters

  • info: any

Returns

GenericCollection

public rename(pattern: string): GenericCollection

Parameters

  • pattern: string

Returns

GenericCollection

public select(): GenericCollection

Returns

GenericCollection

public toGrid(x: number, y: number): GenericCollection

Parameters

  • x: number
  • y: number

Returns

GenericCollection

public update(): GenericCollection

Returns

GenericCollection