Esempio n. 1
0
        private void m00002d(float p0)
        {
            Vector2 zero = Vector2.Zero;
            if (this.f00023a.m000147() != enum023a.f000083)
            {
                if (this.f00023a.m000147() == enum023a.f000081)
                {
                    zero = this.f00023a.m0000a3().m00029f().m000022();
                }
                if (zero.Y < 0f)
                {
                    if (this.f00013c.m000026().Y > -35f)
                    {
                        this.f00013c.m000027(this.f00013c.m000026() - new Vector2(0f, 0.15f * p0));
                        this.m0000ae();
                    }
                    if (this.f00013c.m000026().Y < -35f)
                    {
                        this.f00013c.m000027(new Vector2(0f, -35f));
                        this.m0000ae();
                    }
                }
                else if (this.f00013c.m000026().Y < 0f)
                {
                    this.f00013c.m000027(this.f00013c.m000026() + new Vector2(0f, 0.08f * p0));
                    if (this.f00013c.m000026().Y > 0f)
                    {
                        this.f00013c.m000027(Vector2.Zero);
                    }
                    this.m0000ae();
                }
                switch (this.f000001)
                {
                    case enum0222.f000043:
                        this.f000037 += p0;
                        if (Vector2.Distance(Vector2.Zero, this.f000032) < 8f)
                        {
                            this.f000032 += (Vector2) ((this.f000034 * 0.1f) * p0);
                        }
                        if (this.f000037 > 80f)
                        {
                            this.f000037 = 0f;
                            this.f000001 = enum0222.f000044;
                        }
                        this.f0001ac.m000023(((this.f00013c.m000022() + this.f00013c.m000026()) + f000030) + this.f000032);
                        return;

                    case enum0222.f000044:
                        this.f000037 += p0;
                        this.f000032 -= (Vector2) ((this.f000034 * 0.1f) * p0);
                        if (this.f000037 > 80f)
                        {
                            this.f000037 = 0f;
                            this.f000001 = enum0222.f000001;
                            this.f000032 = Vector2.Zero;
                        }
                        this.f0001ac.m000023(((this.f00013c.m000022() + this.f00013c.m000026()) + f000030) + this.f000032);
                        return;
                }
            }
        }
Esempio n. 2
0
 public void m0000b2()
 {
     this.m00006e(enum0224.f000110);
     this.f000037 = 0f;
     this.m00004b(1);
     this.f000001 = enum0222.f000043;
     this.f000034 = c000029.m000040(this.f00023a.m000024() + 1.570796f);
 }