Exemplo n.º 1
0
        public static TestProjectileInstance CreateNew(ILevelManager level, IProjectile projectile, TestProjectileType type)
        {
            var instance = new TestProjectileInstance(level, projectile, type);

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

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