public c00020e(c000240 p0) : base(p0) { this.f000031 = 0.8f; this.f000033 = 0.01f; this.f00002a = enum022e.f00002a; if (f00003e == null) { f00003e = c000031.m000059(@"Image\Face\Text\Gain"); } this.m000032(); this.f000081 = new c00002b(f00003e); this.f000081.m00004c(false); this.f00013c = new c000029(); this.f00013c.m000029(1.570796f); }
public void m000001() { IList<Texture2D> list = c000031.m000059(@"Image\reward\Shark"); IList<IList<Texture2D>> list2 = new List<IList<Texture2D>>(); List<Texture2D> item = new List<Texture2D>(); for (int i = 0; i < 80; i++) { item.Add(list[i]); } list2.Add(item); item = new List<Texture2D>(); for (int j = 0; j < 10; j++) { item.Add(list[j + 80]); } for (int k = 8; k >= 0; k--) { item.Add(list[k + 80]); } list2.Add(item); c000066 c = c000031.m000056(list2, 0.03f); c[1].m000025(0.03f); c000075 c2 = c000031.m000054(c); if (f00008a == null) { f00008a = c000047.m000344(50f, 160f); } c2.m000143(1f); this.f00013c.m000030(c2); this.m000047(); this.f000057 = false; this.f00000b = c000074.m0000d3().Next(70, 80); double num4 = c000074.m0000d3().NextDouble(); if (GameBase._IsFullScreen) { num4 = 0.1; } switch (GameSetting.Instance().GetGameTypeEnum()) { case enum0277.Strengthen: if (num4 >= 0.2) { if (num4 < 0.6) { this.f00000f = 0x3e8; } else { this.f00000f = 500; } break; } this.f00000f = 0x7d0; break; case enum0277.Common: if (num4 >= 0.2) { this.f00000f = 500; break; } this.f00000f = 0x3e8; break; } this.f00002a = enum022e.f0000bf; this.f000031 = 0f; }
public void m000031() { if (!this.f000057 && (this.f00000b > 0)) { if (!this.f00000a) { this.f000031 = 0f; this.f00000a = true; } this.f00000b--; if (this.f00000b <= 0) { this.f00002a = enum022e.f0000c0; this.f000031 = 0f; c000052.m00009f().m000141(0f); c000052.m00009f().m000142(0f); this.f00000a = false; } } }
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); } }
public void m0002d4(c000030 p0, float p1) { if (this.m000193()) { this.m0002d6(350); } this.f0000a5 = p1; this.f00002a = enum022e.f0000c0; this.f000035 = 0f; this.f00000b = 0; this.f000081.m000023(this.f00013c.m000022()); this.f000081.m000025(p0.m000024()); }
public void m000091(enum022e p0) { this.f00002a = p0; this.f000035 = 0f; }
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); } } }