//------------------------------------------------------------------------------------------------------------------------ // SelectItem() //------------------------------------------------------------------------------------------------------------------------ //attempt to select an item public void SelectItem(Item item) { if (item != null) { shopModel.SelectItem(item); } }
//------------------------------------------------------------------------------------------------------------------------ // SelectItem() //------------------------------------------------------------------------------------------------------------------------ //attempt to select an item public void SelectItem(Item pItem) { if (pItem != null) { _shopModel.SelectItem(pItem); UpdateShopData(); UpdateView(); } }
//------------------------------------------------------------------------------------------------------------------------ // SelectItem() //------------------------------------------------------------------------------------------------------------------------ //Called when a certain item is selected. Only used by Mouse control. public void SelectItem(Item item) { model.SelectItem(item); }