Пример #1
0
 public GPChain(Vector2 position, GPlayer shoot, GEnemy target, List<GEnemy> list)
     : base(position, 14, Vector2.Zero, shoot)
 {
     tar = target;
     list.Add(tar);
     tag = list;
     bolt = new LightningBolt(pos, tar.pos);
 }
Пример #2
0
 public GPPiercing(Vector2 position, Vector2 direction, GPlayer shoot)
     : base(position, 6, direction, shoot)
 {
     tag = new List<GameObj>();
 }
Пример #3
0
 public GPArc(Vector2 position, Vector2 direction, GPlayer shoot)
     : base(position, 5, direction, shoot)
 {
 }
Пример #4
0
 public GPRain(Vector2 position, Vector2 direction, GPlayer shoot)
     : base(position, 0, direction, shoot)
 {
 }
Пример #5
0
 public GPRainA(Vector2 position, Vector2 direction, GPlayer shoot)
     : base(position, 12, direction, shoot)
 {
     dir = (float)(PaintKiller.rand.NextDouble() * 2 - 1);
 }
Пример #6
0
 public GPWave(Vector2 position, Vector2 direction, GPlayer shoot)
     : base(position, 41, direction, shoot)
 {
     tag = new List<GameObj>();
 }
Пример #7
0
 public GProjectile(Vector2 position, short radius, Vector2 direction, GPlayer shoot)
     : base(position, radius)
 {
     spd = direction; shooter = shoot; UpdateAngle();
 }
Пример #8
0
 public GPShard(Vector2 position, Vector2 direction, GPlayer shoot)
     : base(position, 6, direction, shoot)
 {
 }