Example #1
0
 public static EggProjectileInstance GetInstanceForLoading(ILevelManager level,
                                                           IProjectile projectile,
                                                           EggProjectileType type)
 {
     return(new EggProjectileInstance(level, projectile, type));
 }
Example #2
0
 public EggProjectileInstance(ILevelManager level, IProjectile projectile, EggProjectileType myType)
     : base(level, projectile)
 {
     this.myType = myType;
 }
Example #3
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);
        }