using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class RpgGame { public string user ; public int atk; public int def; public int hp; #region/登录 public void Login() { Console.WriteLi…