Esempio n. 1
0
        public IActionResult Play()
        {
            DojoDachi d = HttpContext.Session.GetObjectFromJson <DojoDachi>("Dojodachi");

            d.Play();
            HttpContext.Session.SetObjectAsJson("Dojodachi", d);
            return(Redirect("/"));
        }
Esempio n. 2
0
 public IActionResult PlayMe()
 {
     DojoDachi.Play();
     //myDachi.Play();
     return(RedirectToAction("DojoDachiAction"));
 }