/// <summary> /// Initializes a new instance of the <see cref="TopButtonViewModel"/> class. /// </summary> /// <param name="type">The type of the clothing.</param> /// <param name="maleFemaleType">Male/Female type of clothing</param> /// <param name="pathToModel">The path to model.</param> public TopButtonViewModel(ClothingItemBase.ClothingType type, ClothingItemBase.MaleFemaleType maleFemaleType, string pathToModel) : base(type, maleFemaleType, pathToModel) { Ratio = 1.2; DeltaY = 0.95; }
/// <summary> /// Initializes a new instance of the <see cref="SkirtButtonViewModel"/> class. /// </summary> /// <param name="type">The type of the clothing.</param> /// <param name="pathToModel">The path to model.</param> public SkirtButtonViewModel(ClothingItemBase.ClothingType type, string pathToModel) : base(type, ClothingItemBase.MaleFemaleType.Female, pathToModel) { Ratio = 0.9; DeltaY = 1; }
/// <summary> /// Initializes a new instance of the <see cref="ClothingCategoryButtonViewModel"/> class. /// </summary> /// <param name="type">Male or female type of category</param> public ClothingCategoryButtonViewModel(ClothingItemBase.MaleFemaleType type) { _type = type; }
/// <summary> /// Initializes a new instance of the <see cref="DressButtonViewModel"/> class. /// </summary> /// <param name="type">The type of the clothing.</param> /// <param name="pathToModel">The path to model.</param> public DressButtonViewModel(ClothingItemBase.ClothingType type, string pathToModel) : base(type, ClothingItemBase.MaleFemaleType.Female, pathToModel) { Ratio = 1.7; DeltaY = 1.05; }
/// <summary> /// Initializes a new instance of the <see cref="BagButtonViewModel"/> class. /// </summary> /// <param name="type">The type of the clothing.</param> /// /// <param name="maleFemaleType">Male or female type.</param> /// <param name="pathToModel">The path to model.</param> public BagButtonViewModel(ClothingItemBase.ClothingType type, ClothingItemBase.MaleFemaleType maleFemaleType, string pathToModel) : base(type, maleFemaleType, pathToModel) { Ratio = 1; DeltaY = 1.1; }
/// <summary> /// Initializes a new instance of the <see cref="ClothingButtonViewModel"/> class. /// </summary> /// <param name="category">Clothing category</param> /// <param name="type">Male or female type of clothing</param> /// <param name="pathToModel">Path to the model</param> protected ClothingButtonViewModel(ClothingItemBase.ClothingType category, ClothingItemBase.MaleFemaleType type, string pathToModel) { _category = category; _type = type; ModelPath = pathToModel; }