Class: ClothesManager

ClothesManager


new ClothesManager()

Properties:
Name Type Description
Clothes object.<Clothes>
Source:

Methods


add(clothes)

Parameters:
Name Type Description
clothes Clothes
Source:
Returns:
Type
Clothes

getAllClothes( [girlID])

Returns an object of all the clothes, or an array of clothes for a specific girl

Parameters:
Name Type Argument Description
girlID string <optional>
Source:
Returns:
Type
Object | Array.<Clothes>

getClothes(clothID)

Parameters:
Name Type Description
clothID string
Source:
Returns:
Type
Clothes

remove(clothesID)

Parameters:
Name Type Description
clothesID string
Source:
Returns:
Type
ClothesManager