//<----------Vendor Commands----------> public bool BuyFromStoreCommand(object objectBeingBought) { CheckGameState(GameState.Travel); if (CurrentPlayer.BuyFromStore(objectBeingBought)) { CurrentPlayer.CurrentLocation.VendorInLocation.RemoveFromInventory(objectBeingBought); return(true); } else { return(false); } }