Esempio n. 1
0
        public Spell_AyaA(StageDataPackage StageData)
        {
            this.StageData        = StageData;
            this.OriginalPosition = this.MyPlane.OriginalPosition;
            this.Damage           = 10;
            this.Region           = 30;
            this.LifeTime         = 300;
            this.Direction        = Math.PI / 2.0;
            this.SpellList.Add((BaseObject)this);
            BackgroundBlack backgroundBlack = new BackgroundBlack(StageData, this.Position);
            BackgroundMySC  backgroundMySc1 = new BackgroundMySC(StageData, "76-4");

            backgroundMySc1.LifeTime            = 350;
            backgroundMySc1.MaxTransparent      = 180;
            backgroundMySc1.TransparentValueF   = 0.0f;
            backgroundMySc1.TransparentVelocity = 4f;
            backgroundMySc1.ColorValue          = Color.Green;
            BackgroundMySC backgroundMySc2 = new BackgroundMySC(StageData, "76-4");

            backgroundMySc2.LifeTime              = 350;
            backgroundMySc2.MaxTransparent        = 150;
            backgroundMySc2.TransparentValueF     = 0.0f;
            backgroundMySc2.TransparentVelocity   = 4f;
            backgroundMySc2.ColorValue            = Color.Green;
            backgroundMySc2.AngularVelocityDegree = -0.5f;
            backgroundMySc2.Active = true;
            StageData.VibrateStart(this.LifeTime);
            this.MyPlane.HighSpeed   = 2f;
            this.MyPlane.LowSpeed    = 1f;
            this.TransparentValueF   = 0.0f;
            this.TransparentVelocity = 4f;
            this.ScaleLength         = 0.2f;
            this.ScaleVelocity       = 0.05f;
            this.MaxScale            = 2f;
        }
Esempio n. 2
0
 public Spell(StageDataPackage StageData)
 {
     this.StageData = StageData;
     this.Position  = this.MyPlane.Position;
     this.Damage    = 10;
     this.LifeTime  = 300;
     this.SpellList.Add((BaseObject)this);
     StageData.VibrateStart(this.LifeTime);
     BackgroundBlack backgroundBlack = new BackgroundBlack(StageData, this.Position);
 }
Esempio n. 3
0
File: Spell.cs Progetto: THSJF/sjf
 public Spell(StageDataPackage StageData)
 {
     this.StageData = StageData;
     Position       = MyPlane.Position;
     Damage         = 10;
     LifeTime       = 300;
     SpellList.Add(this);
     StageData.VibrateStart(LifeTime);
     BackgroundBlack backgroundBlack = new BackgroundBlack(StageData, Position);
 }