Esempio n. 1
0
        public static EggProjectileInstance CreateNew(ILevelManager level, IProjectile projectile, EggProjectileType type)
        {
            var instance = new EggProjectileInstance(level, projectile, type);

            instance.flier = BallisticProjectile.CreateNew(instance, level);


            return(instance);
        }
Esempio n. 2
0
 public override ProjectileInstancePlugin GetInstanceForLoading(ILevelManager level, IProjectile projectile)
 {
     return(EggProjectileInstance.GetInstanceForLoading(level, projectile, this));
 }
Esempio n. 3
0
 public override ProjectileInstancePlugin CreateNewInstance(ILevelManager level, IProjectile projectile)
 {
     return(EggProjectileInstance.CreateNew(level, projectile, this));
 }