예제 #1
0
        public override void m000050(GameTime p0)
        {
            if (this.f00002a != enum022e.f000243)
            {
                Vector2 vector;
                float totalMilliseconds = (float) p0.ElapsedGameTime.TotalMilliseconds;
                this.f000035 += totalMilliseconds;
                this.f000039 = this.f00013c.m000044();
                int num2 = -1;
                switch (this.f00002a)
                {
                    case enum022e.f00002a:
                        this.f00013c.m000025(this.f00013c.m000024() + (this.f0000a4 * totalMilliseconds));
                        vector = this.f00013c.m00003f();
                        this.f00013c.m000023(this.f00013c.m000022() + ((Vector2) ((vector * this.f000037) * totalMilliseconds)));
                        if (this.f000039 != enum02a.f000039)
                        {
                            if (!this.f00000a && (this.f000035 > 1000f))
                            {
                                this.m0000ae();
                            }
                            break;
                        }
                        this.m000091(enum022e.f0000bf);
                        break;

                    case enum022e.f0000bf:
                        this.f00013c.m000025(this.f00013c.m000024() + (this.f0000a4 * totalMilliseconds));
                        vector = this.f00013c.m00003f();
                        this.f00013c.m000023(this.f00013c.m000022() + ((Vector2) ((vector * this.f000037) * totalMilliseconds)));
                        if ((!this.f00000a && (this.f000035 > 500f)) && (this.f000039 != enum02a.f000039))
                        {
                            this.m0000ae();
                        }
                        if (this.f00000a && (this.f000039 != enum02a.f000039))
                        {
                            this.m000091(enum022e.f000243);
                        }
                        break;

                    case enum022e.f0000c0:
                        if (this.f000081.m00000f() != this.f00000f)
                        {
                            this.f000081.m00004b(this.f00000f);
                        }
                        if (this.f000035 <= this.f0000a5)
                        {
                            this.f00013c.m000025(this.f00013c.m000024() + (this.f0000a4 * totalMilliseconds));
                            vector = this.f00013c.m00003f();
                            this.f00013c.m000023(this.f00013c.m000022() + ((Vector2) ((vector * this.f000037) * totalMilliseconds)));
                            this.f00002a = enum022e.f0000bf;
                            num2 = this.m0000f0();
                            this.f00002a = enum022e.f0000c0;
                        }
                        if (this.f000035 > (this.f0000a5 + 1600f))
                        {
                            this.m000091(enum022e.f000243);
                        }
                        break;
                }
                c000075 c = this.f00013c.m00002f();
                if (num2 == -1)
                {
                    num2 = this.m0000f0();
                }
                c000067 c2 = c.m00009f()[num2];
                if (c2 != c.m000096())
                {
                    c.m00029c(c2);
                    c.m000090(0);
                }
            }
        }
예제 #2
0
        public void m000025(float p0)
        {
            if (this.f00002a == enum022e.f000243)
            {
                return;
            }
            this.f000031 += p0;
            this.f000039 = this.f00013c.m000044();
            int num = -1;
            switch (this.f00002a)
            {
                case enum022e.f0000bf:
                {
                    Vector2 vector = this.f00013c.m00003f();
                    this.f00013c.m000023(this.f00013c.m000022() + ((Vector2) ((vector * this.f000033) * p0)));
                    if (this.f000039 == enum02a.f000039)
                    {
                        this.f000056 = false;
                        break;
                    }
                    if (!this.f000057)
                    {
                        this.m000003();
                        break;
                    }
                    this.f00002a = enum022e.f000243;
                    this.f00013c.m000047();
                    break;
                }
                case enum022e.f0000c0:
                    if (this.f000031 > 2000f)
                    {
                        this.f00002a = enum022e.f000243;
                        this.f00013c.m000047();
                    }
                    goto Label_0172;

                default:
                    goto Label_0172;
            }
            if (this.f00000a)
            {
                c000052.m00009f().m000141(((float) c000074.m0000d3().Next(-150, 150)) / 100f);
                c000052.m00009f().m000142(((float) c000074.m0000d3().Next(-150, 150)) / 100f);
                if (this.f000031 > 200f)
                {
                    this.f00000a = false;
                    c000052.m00009f().m000141(0f);
                    c000052.m00009f().m000142(0f);
                }
            }
            Label_0172:
            if (this.f00002a == enum022e.f000243)
            {
                return;
            }
            c000075 c = this.f00013c.m00002f();
            if (num == -1)
            {
                num = 0;
                switch (this.f00002a)
                {
                    case enum022e.f0000bf:
                        num = 0;
                        break;

                    case enum022e.f0000c0:
                        num = 1;
                        break;
                }
            }
            c000067 c2 = c.m00009f()[num];
            if (c2 != c.m000096())
            {
                c.m00029c(c2);
                c.m000090(0);
            }
        }
예제 #3
0
        private void m0002e7(enum02a p0)
        {
            float num = 0f;
            switch (p0)
            {
                case enum02a.f00003a:
                    num = -this.f00013c.m000024();
                    break;

                case enum02a.f00003b:
                    num = 3.141593f - this.f00013c.m000024();
                    break;

                case enum02a.f00003c:
                    num = -this.f00013c.m000024();
                    break;

                case enum02a.f00003d:
                    num = 3.141593f - this.f00013c.m000024();
                    break;
            }
            this.f000033 = 0f;
            this.f000039 = enum021d.f000210;
            this.f00013c.m000025(num);
            this.f0001ab.m000025(num + 1.570796f);
            this.f00000f++;
        }