Class: Storage

Storage

Class representing a storage object.

new Storage(name, idx, prev)

Instantiate a Storage object
Parameters:
Name Type Description
name string Name of storage object.
idx number Index in list of StorageContainer's storage objects.
prev string | undefined Name of Storage object preceding this object in list of StorageContainer's storage objects.
Source:

Members


name

Properties:
Name Type Description
name string Name of storage object
Source:

idx

Properties:
Name Type Description
idx number Index in list of StorageContainer's storage objects.
Source:

capacity

Properties:
Name Type Description
capacity number Capacity of storage object
Source:

price

Properties:
Name Type Description
price number Price of storage object
Source:

prev

Properties:
Name Type Description
prev string | undefined Name of Storage object preceding this object in list of StorageContainer's storage objects.
Source:

name

Properties:
Name Type Description
name string Name of storage object
Source:

idx

Properties:
Name Type Description
idx number Index in list of StorageContainer's storage objects.
Source:

capacity

Properties:
Name Type Description
capacity number Capacity of storage object
Source:

price

Properties:
Name Type Description
price number Price of storage object
Source:

prev

Properties:
Name Type Description
prev string | undefined Name of Storage object preceding this object in list of StorageContainer's storage objects.
Source:

Class: Storage

Storage

Class representing a storage object.

new Storage(name, idx, prev)

Instantiate a Storage object
Parameters:
Name Type Description
name string Name of storage object.
idx number Index in list of StorageContainer's storage objects.
prev string | undefined Name of Storage object preceding this object in list of StorageContainer's storage objects.
Source:

Members


name

Properties:
Name Type Description
name string Name of storage object
Source:

idx

Properties:
Name Type Description
idx number Index in list of StorageContainer's storage objects.
Source:

capacity

Properties:
Name Type Description
capacity number Capacity of storage object
Source:

price

Properties:
Name Type Description
price number Price of storage object
Source:

prev

Properties:
Name Type Description
prev string | undefined Name of Storage object preceding this object in list of StorageContainer's storage objects.
Source:

name

Properties:
Name Type Description
name string Name of storage object
Source:

idx

Properties:
Name Type Description
idx number Index in list of StorageContainer's storage objects.
Source:

capacity

Properties:
Name Type Description
capacity number Capacity of storage object
Source:

price

Properties:
Name Type Description
price number Price of storage object
Source:

prev

Properties:
Name Type Description
prev string | undefined Name of Storage object preceding this object in list of StorageContainer's storage objects.
Source: