public override void Shoot() { if (this.SpellList.Count > 0) { return; } if (this.Time % 3 == 0) { this.StageData.SoundPlay("se_plst00.wav", this.OriginalPosition.X / (float)this.BoundRect.Width); PointF originalPosition = this.OriginalPosition; float x = originalPosition.X; originalPosition = this.OriginalPosition; float y = originalPosition.Y; MyBullet_Aya myBulletAya1 = new MyBullet_Aya(this.StageData, new PointF(x + 7f, y)); MyBullet_Aya myBulletAya2 = new MyBullet_Aya(this.StageData, new PointF(x - 7f, y)); } if (this.Time % 5 != 0) { return; } for (int index = 0; index < this.PowerLevel; ++index) { this.SubPlaneList[index].Shoot(); } }
public override void Shoot() { if (this.Time % 3 == 0) { this.StageData.SoundPlay("se_plst00.wav", this.OriginalPosition.X / (float)this.BoundRect.Width); float x = this.OriginalPosition.X; float y = this.OriginalPosition.Y; MyBullet_Aya myBulletAya1 = new MyBullet_Aya(this.StageData, new PointF(x + 7f, y)); MyBullet_Aya myBulletAya2 = new MyBullet_Aya(this.StageData, new PointF(x - 7f, y)); } if (!this.KClass.Key_Shift) { if (this.Time % 4 != 0) { return; } for (int index = 0; index < this.PowerLevel; ++index) { this.SubPlaneList[index].Shoot(); } } else if (this.PowerLevel > 0 && this.Time % (13 - (this.PowerLevel - 1) * 2) == 0) { MyBullet_AyaSub myBulletAyaSub = new MyBullet_AyaSub(this.StageData, this.OriginalPosition); } }