コード例 #1
0
ファイル: c000216.cs プロジェクト: bing2008/CastNetGame
 public void m000033(Vector2 p0, c00023b p1)
 {
     this.f000038 = p1;
     string str = @"Image\reward\Coin\0100";
     IList<Texture2D> list = c000031.m000059(str);
     c000030 c = this.m0002df(p1.m0000a3().m00013c());
     this.f00013c = new c000029();
     c000075 c2 = c000031.m000058(list, 0.02f);
     c2.m000143(1.9f);
     this.f00013c.m000030(c2);
     this.f00013c.m00002f().m000265(0.8f);
     this.f00013c.m000023(c.m000035(p0));
     this.f00013c.m00002f().m000356(false);
     this.f00013c.m000025(p1.m0000a3().m000024());
     this.f000035 = c000029.m00003c(this.f00013c.m000022(), p1.m000026());
 }
コード例 #2
0
ファイル: c000248.cs プロジェクト: bing2008/CastNetGame
        internal void m000030(c00023b p0)
        {
            int num = this.f000018.m000010();
            num = p0.m0000a3().m00029f().m00031d(num);
            IList<Vector2> list = new List<Vector2>();
            switch (num)
            {
                case 200:
                    list.Add(new Vector2(200f, 300f));
                    list.Add(new Vector2(400f, 300f));
                    break;

                case 500:
                    for (int j = 0; j < 5; j++)
                    {
                        list.Add(new Vector2((float) (100 + (120 * j)), 300f));
                    }
                    break;

                case 0x3e8:
                    for (int k = 0; k < 2; k++)
                    {
                        for (int m = 0; m < 5; m++)
                        {
                            list.Add(new Vector2((float) (100 + (120 * m)), (float) (0x7d + (250 * k))));
                        }
                    }
                    break;

                case 0x7d0:
                    for (int n = 0; n < 4; n++)
                    {
                        for (int num6 = 0; num6 < 5; num6++)
                        {
                            list.Add(new Vector2((float) (100 + (120 * num6)), (float) (0x7d + (0x7d * n))));
                        }
                    }
                    break;
            }
            for (int i = 0; i < list.Count; i++)
            {
                c000216 item = new c000216();
                item.m000004(i);
                item.m000033(list[i], p0);
                this.f000262.Add(item);
            }
            c000216.m00004b(list.Count);
            p0.m0002ff(num);
            p0.m0002d9(num);
        }