📄 x.java
字号:
package com.hoya.games.sp;
import com.hoya.util.graphics.a;
import java.awt.AlphaComposite;
import java.awt.Color;
import java.awt.Composite;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.Point;
public final class x
implements h
{
static a g;
static a v;
static a C;
public static int a;
public static Image[][] j;
public static Image[][] D;
private static Image k;
public static Image m;
public static Image n;
private static Image[][] o;
private static Image p;
private static Image r;
private static Image s;
private static Image[][] t;
private static Image u;
private static Image w;
private static Image x;
private Image y;
public int b;
public int c;
public int d;
public int e;
public static Point[] f;
public static int h;
public static int i;
public x(int paramInt1, int paramInt2)
{
this.d = paramInt1;
this.e = paramInt2;
if ((paramInt1 == 98) || (paramInt1 == 99));
this.b = (paramInt1 / 20 + 1);
this.c = ((this.b = 99) ? paramInt1 : paramInt1 - (this.b - 1) * 20);
b();
}
public x(int paramInt1, int paramInt2, int paramInt3)
{
this.b = paramInt1;
this.c = paramInt2;
this.e = paramInt3;
b();
}
private void b()
{
if (this.b == 99)
if (this.c == 98)
this.y = w;
if (this.b != -2)
{
if (this.c == -2)
return;
int l = this.b - 1;
int i1 = 0;
i1 = (this.c == 14) ? 0 : this.c - 1;
this.y = (((this.b == -1) || (this.c == -1)) ? u : (this.c == 99) ? x : t[l][i1]);
}
}
public final void a(Graphics paramGraphics)
{
b();
if (lx.S)
{
double d1 = u.b_();
double d3 = u.c_();
paramGraphics.drawImage(this.y, (int)(an[this.e].x * d1), (int)(an[this.e].y * d3) + q.C[11], (int)(h * d1), (int)(i * d3), null);
return;
}
if ((this.b == -2) || (this.c == -2))
{
Graphics2D localGraphics2D;
Composite localComposite = (localGraphics2D = (Graphics2D)paramGraphics).getComposite();
AlphaComposite localAlphaComposite = AlphaComposite.getInstance(3, 0.64999997615814209F);
localGraphics2D.setComposite(localAlphaComposite);
localGraphics2D.setColor(Color.black);
double d5 = u.b_();
double d6 = u.c_();
localGraphics2D.fillRect((int)(f[this.e].x * d5), (int)(f[this.e].y * d6) + q.C[11], (int)(h * d5), (int)(i * d6));
localGraphics2D.setComposite(localComposite);
return;
}
double d2 = u.b_();
double d4 = u.c_();
paramGraphics.drawImage(this.y, (int)(f[this.e].x * d2), (int)(f[this.e].y * d4) + q.C[11], (int)(h * d2), (int)(i * d4), null);
}
public static void a()
{
if (a == 1)
{
t = ((lx.aS == 4) && (n.e == 0)) ? D : j;
u = k;
}
t = o;
u = p;
w = r;
x = (w = m) ? n : s;
if (a == 1)
h = 149;
h = 125;
i = 257;
f = (i = 257) ? ak : al;
if (j.f != null)
j.f.repaint();
}
public static void a(int paramInt)
{
a = paramInt;
}
static
{
int i1;
j = new Image[4][13];
D = new Image[4][13];
o = new Image[4][13];
f = ak;
h = 149;
i = 257;
if (lx.aS == 3);
if (lx.aS == 4);
g = new a();
v = new a();
C = new a();
int l = 0;
if (l < 4)
{
i1 = 0;
if (i1 < 13)
{
i1[g] = new StringBuffer().append("resources/classic_robah/").append(l).append("-").a(new StringBuffer().append("").append(i1).toString() + ".gif");
i1[v] = new StringBuffer().append("resources/sport_robah/").append(l).append("-").a(new StringBuffer().append("").append(i1).toString() + ".gif");
}
}
if (lx.aS == 4)
{
a locala = new a();
for (i1 = 0; i1 < 4; ++i1)
{
int i2 = 0;
if (i2 < 13)
i2[locala] = new StringBuffer().append("resources/classic_robah/").append(i1).append("-").a(new StringBuffer().append("").append(i2).toString() + "_small.gif");
}
}
else
{
D = j;
}
k = g.a("resources/classic_robah/back.gif");
m = g.a("resources/classic_robah/joker-red.gif");
n = g.a("resources/classic_robah/joker-black.gif");
p = v.a("resources/sport_robah/back.gif");
r = v.a("resources/sport_robah/joker-red.gif");
s = v.a("resources/sport_robah/joker-black.gif");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -