public frmGame() { InitializeComponent(); game = new Game(this); RefreshFrame(game.Render()); pgbExp.Style = ProgressBarStyle.Continuous; pgbExp.ForeColor = Color.FromArgb(6030325); }
public Player(string name, int str, int dex, int agi, int cons, int charisma, Game game) { Name = name; this.str = str; this.dex = dex; this.agi = agi; this.cons = cons; this.charisma = charisma; currentHP = cons * 10; Level = 1; CurrentExp = 0; Gold = 0; this.game = game; }
public Player(string name, int ID, Game game) { Name = name; this.game = game; }