예제 #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);
        }
예제 #2
0
 public override ProjectileInstancePlugin GetInstanceForLoading(ILevelManager level, IProjectile projectile)
 {
     return(TestProjectileInstance.GetInstanceForLoading(level, projectile, this));
 }
예제 #3
0
 public override ProjectileInstancePlugin CreateNewInstance(ILevelManager level, IProjectile projectile)
 {
     return(TestProjectileInstance.CreateNew(level, projectile, this));
 }