예제 #1
0
 internal void m0002e9()
 {
     this.f00000b = 0;
     this.f000069 = 0.0;
     for (int i = 0; i < 9; i++)
     {
         this.f000230[i].m00002f().m000090(c000074.m0000d3().Next(this.f000230[i].m00002f().m000096().Count));
     }
     this.f00023d = enum0223.f00006c;
     this.f000231.m00002f().m00025a(0f);
     this.f000231.m00002f().m000356(true);
 }
예제 #2
0
        private void m000039(float p0)
        {
            switch (this.f00023d)
            {
                case enum0223.f00006c:
                    if (this.m0002e8(this.f00000b, p0))
                    {
                        if (this.f00000b >= 9)
                        {
                            this.f00023d = enum0223.f00006d;
                            this.f00000b = 0;
                            this.f000069 = 0.0;
                            Vector2 vector = this.f0001ac.m000022() + new Vector2(0f, -30f);
                            float num = 160f;
                            for (int i = 0; i < 10; i++)
                            {
                                double d = 3.1415927410125732 + (((double) (3.141593f * i)) / 9.0);
                                this.f00005b[i].m000023(vector + ((Vector2) (num * new Vector2((float) Math.Cos(d), (float) Math.Sin(d)))));
                                this.f00005b[i].m00002f().m000356(false);
                            }
                            this.f00005b[9].m000023(this.f00005b[0].m000022());
                            this.f00005b[9].m00002f().m000356(true);
                            return;
                        }
                        this.f00000b++;
                    }
                    return;

                case enum0223.f00006d:
                {
                    if (this.f000069 >= 3.1415927410125732)
                    {
                        this.f000230[8].m00002f().m000356(true);
                        this.f00023d = enum0223.f00006e;
                        return;
                    }
                    Vector2 vector2 = this.f0001ac.m000022() + new Vector2(0f, -30f);
                    float num4 = 160f;
                    this.f000069 += p0 * 0.01f;
                    for (int j = 0; j < 9; j++)
                    {
                        if (this.f000069 >= (((double) (3.141593f * j)) / 9.0))
                        {
                            this.f00005b[j].m00002f().m000356(true);
                            if (j > 0)
                            {
                                this.f000230[j - 1].m00002f().m000356(true);
                            }
                        }
                    }
                    if (this.f000069 >= 3.1415927410125732)
                    {
                        this.f000069 = 3.1415927410125732;
                    }
                    double num6 = 3.1415927410125732 + this.f000069;
                    this.f00005b[9].m000023(vector2 + ((Vector2) (num4 * new Vector2((float) Math.Cos(num6), (float) Math.Sin(num6)))));
                    return;
                }
            }
        }