forked from External/mage
All final strings became static - it will give a little perfomance boost, due to not instantiating same string every time
This commit is contained in:
parent
26ce8e0bcc
commit
af3986df46
46 changed files with 56 additions and 56 deletions
|
|
@ -68,12 +68,12 @@ public class CardPluginImpl implements CardPlugin {
|
|||
private static final float STACK_SPACING_Y = 0.10f;
|
||||
private static final float ATTACHMENT_SPACING_Y = 0.13f;
|
||||
|
||||
private final int landStackMax = 5;
|
||||
private static final int landStackMax = 5;
|
||||
// private int cardWidthMin = 50, cardWidthMax = Constants.CARD_SIZE_FULL.width;
|
||||
private int cardWidthMin = (int) GUISizeHelper.battlefieldCardMinDimension.getWidth();
|
||||
private int cardWidthMax = (int) GUISizeHelper.battlefieldCardMaxDimension.getWidth();
|
||||
|
||||
private final boolean stackVertical = false;
|
||||
private static final boolean stackVertical = false;
|
||||
|
||||
private int playAreaWidth, playAreaHeight;
|
||||
private int cardWidth, cardHeight;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue