public GameEntity CreateWingman(EWingmanType wingmanType) { string code = EntityUtil.GetWingmanCode(wingmanType); var entity = CreateEntity(code); return(entity); }
public static string GetWingmanCode(EWingmanType wingmanType) { return(string.Format("{0}", 10000000 + 100000 * (int)EEntityType.Wingman + 100 * (int)wingmanType + (int)1)); }