Пример #1
0
 public SpawnerTransition(float angle, ArenaCircle arena,
                          float startAngle, float endAngle, float startRadius, float endRadius)
     : base(angle, arena)
 {
     Radius           = startRadius;
     this.startAngle  = startAngle;
     this.endAngle    = endAngle;
     this.startRadius = startRadius;
     this.endRadius   = endRadius;
 }
Пример #2
0
        public MenuScene()
        {
            Camera = new ArenaCamera();

            arena = new ArenaCircle();
            arena.Circle.BorderColor   = Color.CornflowerBlue;
            arena.Circle.FillColor     = Color.White;
            arena.Circle.LineThickness = 3;
            arena.GlowEnabled          = true;
            arena.Hitbox.Inverted      = true;

            rings = new OuterRings(new Color(0x37, 0x71, 0xc8), arena.Circle);
        }
Пример #3
0
        public BulletManager(ArenaCircle arena, SoundodgerLevel level,
                             List <Spawner> spawners, Mod activeMods, CircleParticleSystem particles)
        {
            this.arena     = arena;
            shotCreator    = new ShotCreator(arena.Circle.Center, arena.Circle.Radius, level, ActiveStreams, particles);
            Shots          = new List <Shot>(level.Script.Shots);
            this.spawners  = spawners;
            this.activeMod = activeMods;
            this.particles = particles;
            this.level     = level;
            bulletDrawer   = new BulletDrawer(Bullets);

            shotIterator = new TimeIter <Shot>(Shots, x => x.Time, OnFireShot);
        }
Пример #4
0
 public LiveSpawners(ArenaCircle arena, PiecewiseFunction combinedSpinWarpFunction)
     : base(arena, combinedSpinWarpFunction)
 {
 }
Пример #5
0
 public LiveSpawner(float angle, ArenaCircle arena)
     : base(angle, arena)
 {
 }
Пример #6
0
 public ArenaSpawners(ArenaCircle arena, PiecewiseFunction combinedSpinWarpFunction)
 {
     this.arena = arena;
     this.combinedSpinWarpFunction = combinedSpinWarpFunction;
 }
Пример #7
0
 protected override void CalcPosition(ArenaCircle arena)
 {
     // do nothing
 }