public Hero(eHeroKey key, int lv) {//Info Dict 에서 빼와 Lv = lv; HP = MaxHP; MP = MaxMP; Exp = 0; image = (Image)Properties.Resources.ResourceManager.GetObject(Info.ImageRsrcName); }
public HeroInfo(eHeroKey key, string name, int att, int def, int life, int Int, string imagersrcname, int imagesize) { Key = key; Name = name; ATT = att; DEF = def; LIFE = life; INT = Int; ImageRsrcName = imagersrcname; ImageSize = imagesize; }
public void CreateHero(eHeroKey key = eHeroKey.주인공, int lv = 1) { hero = new Hero(key, lv); }