mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
[card.plugin] Added sickness image. At the moment there is no way to determine whether permanent has sickness on client - so for a while all creatures will ALWAYS have sickness image displayed.
This commit is contained in:
parent
03cb41f2aa
commit
e36d4e57e1
7 changed files with 236 additions and 20 deletions
|
|
@ -62,7 +62,7 @@ public class ArrowBuilder {
|
|||
arrow.setColor(color);
|
||||
arrow.setArrowLocation(startX, startY, endX, endY);
|
||||
arrow.setBounds(0, 0, Math.max(startX, endX) + 30, Math.max(startY, endY) + 30); // 30 is offset for arrow heads (being cut otherwise)
|
||||
System.out.println(" Adding arrow (startX=" + startX + ", startY=" + startY +", endX=" + endX + ", endY=" + endY + ")");
|
||||
//System.out.println(" Adding arrow (startX=" + startX + ", startY=" + startY +", endX=" + endX + ", endY=" + endY + ")");
|
||||
p.add(arrow);
|
||||
p.revalidate();
|
||||
p.repaint();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue