Esempio n. 1
0
 // Swap to the next LowerBody.
 public void NextLowerBody()
 {
     // Retrieve next.
     this._lowerBody = this._wardrobe.GetNextLowerBody();
     // Update UI.
     UpdateWardrobeUI(Resource.Id.LowerView, Resource.Id.AvatarLowerBody, this._lowerBody);
 }
Esempio n. 2
0
        // Add a new LowerBody.
        private void AddLowerBody(string name, int imagePath, int id)
        {
            var item = new WardrobeItem(name, imagePath, id);

            this.LowerBodies.Add(item);
        }
Esempio n. 3
0
 private void UpdateWardrobeUI(int resourceId, int textid, WardrobeItem item)
 {
     UpdateWardrobeItemText(textid, item.Name);
     UpdateWardrobeItemImage(resourceId, item.Mipmap);
 }
Esempio n. 4
0
        // Add a new Topper.
        private void AddTopper(string name, int imagePath, int id)
        {
            var item = new WardrobeItem(name, imagePath, id);

            this.Toppers.Add(item);
        }