public IActionResult NewGame() { Dojo dojodachi = MakeDojos.GetDojoDachi(HttpContext); dojodachi.Reset(); MakeDojos.SetDojoDachi(HttpContext, dojodachi); return(RedirectToAction("Index")); }
public IActionResult WerkWerk() { Dojo dojodachi = MakeDojos.GetDojoDachi(HttpContext); dojodachi.Work(); MakeDojos.SetDojoDachi(HttpContext, dojodachi); return(RedirectToAction("Index")); }
public IActionResult SleepingDojo() { Dojo dojodachi = MakeDojos.GetDojoDachi(HttpContext); dojodachi.Sleep(); MakeDojos.SetDojoDachi(HttpContext, dojodachi); return(RedirectToAction("Index")); }
public IActionResult Index() { Dojo dojodachi = MakeDojos.GetDojoDachi(HttpContext); return(View(dojodachi)); }