mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
Ignition Team implementation (requested card)
This commit is contained in:
parent
60b74289c9
commit
9deb1bd0da
4 changed files with 141 additions and 8 deletions
|
|
@ -1,11 +1,7 @@
|
|||
package org.mage.card.arcane;
|
||||
|
||||
import java.awt.Graphics;
|
||||
import java.awt.Graphics2D;
|
||||
import java.awt.Image;
|
||||
import java.awt.RenderingHints;
|
||||
import java.awt.image.BufferedImage;
|
||||
|
||||
import javax.swing.JPanel;
|
||||
import mage.client.util.TransformedImageCache;
|
||||
|
||||
|
|
@ -17,6 +13,11 @@ public class ScaledImagePanel extends JPanel {
|
|||
super(false);
|
||||
setOpaque(false);
|
||||
}
|
||||
|
||||
public void clearImage () {
|
||||
srcImage = null;
|
||||
repaint();
|
||||
}
|
||||
|
||||
public void setImage(BufferedImage srcImage) {
|
||||
this.srcImage = srcImage;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue