Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ItemList<T>

Type parameters

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Readonly list

list: Array<T> = []

Readonly type

type: INewable<T>

Methods

add

  • add(item: T): void

clear

  • clear(): void

load

make

  • make(): T

moveDown

  • moveDown(item: T): void

moveUp

  • moveUp(item: T): void

remove

  • remove(item: T): void

swap

  • swap(left: number, right: number): void

toJSON

  • toJSON(key: string): { list: T[] }

Generated using TypeDoc