public static HeroBuilder getBuilder() { if (builder == null) { builder = new HeroBuilder(); } return(builder); }
public void SummonHero(int type) { Hero h; HeroSkill hs; h = HeroBuilder.getBuilder().getHero(type); hs = HeroBuilder.getBuilder().getHeroSkill(type); if (h != null) { h.aSkill = hs; heroes.Add(h); } }