Esempio n. 1
0
        public GameEntity CreateWingman(EWingmanType wingmanType)
        {
            string code   = EntityUtil.GetWingmanCode(wingmanType);
            var    entity = CreateEntity(code);

            return(entity);
        }
Esempio n. 2
0
 public static string GetWingmanCode(EWingmanType wingmanType)
 {
     return(string.Format("{0}", 10000000 + 100000 * (int)EEntityType.Wingman + 100 * (int)wingmanType + (int)1));
 }