Example #1
0
 public ActionResult StartGame(string CharacterId)
 {
     Models.GameEngine Engine = new Models.GameEngine(Session);
     Engine.StartGame(string.Format("~/Images/Avatars/{0}.jpg", CharacterId));
     return RedirectToAction("Battle", "Battle");
 }
Example #2
0
 public ActionResult StartGame(string CharacterId)
 {
     Models.GameEngine Engine = new Models.GameEngine(Session);
     Engine.StartGame(string.Format("~/Images/Avatars/{0}.jpg", CharacterId));
     return(RedirectToAction("Battle", "Battle"));
 }