Class: Store<T, StoreName>
The store class which contains Pieces.
Extends
Collection
<string
,T
>
Extended by
Type Parameters
Type Parameter | Default type |
---|---|
T extends Piece | - |
StoreName extends StoreRegistryKey | StoreRegistryKey |
Constructors
new Store()
new Store<
T
,StoreName
>(constructor
:AbstractConstructor
<T
>,options
:StoreOptions
<T
,StoreName
>):Store
<T
,StoreName
>
Parameters
Parameter | Type | Description |
---|---|---|
constructor | AbstractConstructor <T > | The piece constructor this store loads. |
options | StoreOptions <T , StoreName > | The options for the store. |
Returns
Store
<T
, StoreName
>
Overrides
Collection<string, T>.constructor