예제 #1
0
파일: Wizard.cs 프로젝트: Dieho/Hero
 public ILive Build(string name = "Wizard", int hp = 5, int mp = 12, int damage = 24, int def = 3,
   string agression = "Wizard", int Experience = 0, int Lvl = 0, int ExperienceToLvl = 0, int X = 0, int Y = 0, int x = 0, int y = 0, Eff eff = null)
 {
     var hero = new Wizard();
     hero.SetHero(name, hp, mp, damage, def, agression, Experience, Lvl, ExperienceToLvl, X, Y, x, y,eff);
     return hero;
 }
예제 #2
0
파일: StartForm.cs 프로젝트: Dieho/Hero
 private void Button6Click(object sender, EventArgs e)
 {
     var wi = new Wizard().Build();
     NewFight(wi);
 }