Ejemplo n.º 1
0
 // inicializar una instancia
 public TopButtonViewModel(ClothingItemBase.ClothingType type, ClothingItemBase.MaleFemaleType maleFemaleType,
                           string pathToModel)
     : base(type, maleFemaleType, pathToModel)
 {
     Ratio  = 1.2;
     DeltaY = 0.95;
 }
Ejemplo n.º 2
0
 //inicializacion de instancia
 protected ClothingButtonViewModel(ClothingItemBase.ClothingType category, ClothingItemBase.MaleFemaleType type, string pathToModel)
 {
     _category = category;
     _type     = type;
     ModelPath = pathToModel;
 }
 /// <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="ClothingCategoryButtonViewModel"/> class.
 /// </summary>
 /// <param name="type">Male or female type of category</param>
 public ClothingCategoryButtonViewModel(ClothingItemBase.MaleFemaleType type)
 {
     _type = type;
 }
Ejemplo n.º 5
0
 // inicializar una instancia
 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;
 }