46 |
public static boolean dbg = false; |
public static boolean dbg = false; |
47 |
private static final void p(String s) { if(dbg) System.out.println(s); } |
private static final void p(String s) { if(dbg) System.out.println(s); } |
48 |
|
|
49 |
|
/** Constructor shorthands */ |
50 |
|
public ColoredSquareSectorVob() { this(Color.white, true, null); } |
51 |
|
public ColoredSquareSectorVob(Color bgColor) { this(bgColor, true, null); } |
52 |
|
public ColoredSquareSectorVob(Color bgColor, boolean drawBorder) { this(bgColor, drawBorder, null); } |
53 |
|
public ColoredSquareSectorVob(Color bgColor, boolean drawBorder, Color borderColor) { |
54 |
|
this(bgColor, drawBorder, borderColor, 90, 360, 10); |
55 |
|
} |
56 |
|
public ColoredSquareSectorVob(int start, int sector, int step) { |
57 |
|
this(Color.white, true, null, start, sector, step); |
58 |
|
} |
59 |
|
public ColoredSquareSectorVob(Color bgColor, boolean drawBorder, Color borderColor, |
60 |
|
int start, int sector, int step) { |
61 |
|
super(bgColor, drawBorder, borderColor, start, sector, step); |
62 |
|
} |
63 |
|
|
64 |
public void render(Graphics g, |
public void render(Graphics g, |
65 |
boolean fast, |
boolean fast, |
66 |
Vob.RenderInfo info1, |
Vob.RenderInfo info1, |