Exemple #1
0
        public object ClearShop()
        {
            // Clears all cards out of the shop
            gameData.ClearShop();

            return(new { response = true, result = "Card Shop is now empty" });
        }
Exemple #2
0
        public IActionResult Index(long playerID)
        {
            Player current = Player.AssemblePlayer(playerID, _data);

            _data.ClearShop();
            FillCardShop(3);
            return(View("HeroShop", current));
            //return Content($"the player ID is: {playerID}");
        }