Exemplo n.º 1
0
 public Hero(eHeroKey key, int lv)
 {//Info Dict 에서 빼와
     Lv    = lv;
     HP    = MaxHP;
     MP    = MaxMP;
     Exp   = 0;
     image = (Image)Properties.Resources.ResourceManager.GetObject(Info.ImageRsrcName);
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
 public void CreateHero(eHeroKey key = eHeroKey.주인공, int lv = 1)
 {
     hero = new Hero(key, lv);
 }