mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
update translation, disable foil for battle cards
- todo move the draw method inside the card render method or use a general foil effect shader..
This commit is contained in:
@@ -1360,6 +1360,11 @@ public class CardRenderer {
|
||||
}
|
||||
|
||||
public static void drawFoilEffect(Graphics g, CardView card, float x, float y, float w, float h, boolean inZoomer) {
|
||||
if (card.getCurrentState().isBattle())
|
||||
return;
|
||||
if (card.getAlternateState() != null && card.getCurrentState().isBattle())
|
||||
return;
|
||||
//todo add support for battle, better to move the render inside the draw method for card in the future or a general foil effect shader..
|
||||
float new_x = x;
|
||||
float new_y = y;
|
||||
float new_w = w;
|
||||
|
||||
Reference in New Issue
Block a user