mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
update adventure deckaward
This commit is contained in:
@@ -40,6 +40,7 @@ import forge.adventure.util.*;
|
|||||||
import forge.adventure.world.WorldSave;
|
import forge.adventure.world.WorldSave;
|
||||||
import forge.assets.FImageComplex;
|
import forge.assets.FImageComplex;
|
||||||
import forge.assets.FSkin;
|
import forge.assets.FSkin;
|
||||||
|
import forge.assets.FSkinImage;
|
||||||
import forge.card.CardRenderer;
|
import forge.card.CardRenderer;
|
||||||
import forge.deck.Deck;
|
import forge.deck.Deck;
|
||||||
import forge.deck.DeckProxy;
|
import forge.deck.DeckProxy;
|
||||||
@@ -254,11 +255,11 @@ public class MapStage extends GameStage {
|
|||||||
Image art = new Image(cardArt.getTextureRegion());
|
Image art = new Image(cardArt.getTextureRegion());
|
||||||
art.setWidth(50);
|
art.setWidth(50);
|
||||||
art.setHeight(40);
|
art.setHeight(40);
|
||||||
art.setPosition(10, 43);
|
art.setPosition(8, 40);
|
||||||
Image image = new Image(FSkin.getDeckbox().get(1));
|
Image image = new Image(FSkinImage.ADV_DECKBOX.getTextureRegion());
|
||||||
image.setWidth(70);
|
image.setWidth(59);
|
||||||
image.setHeight(100);
|
image.setHeight(80);
|
||||||
image.setPosition(0, 15);
|
image.setPosition(4, 7);
|
||||||
TypingLabel label = Controls.newTypingLabel("[%125]"+Controls.colorIdToTypingString(DeckProxy.getColorIdentity(deck)).toUpperCase()+"\n[%]"+deck.getName());
|
TypingLabel label = Controls.newTypingLabel("[%125]"+Controls.colorIdToTypingString(DeckProxy.getColorIdentity(deck)).toUpperCase()+"\n[%]"+deck.getName());
|
||||||
label.skipToTheEnd();
|
label.skipToTheEnd();
|
||||||
label.setAlignment(Align.center);
|
label.setAlignment(Align.center);
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import com.badlogic.gdx.utils.Array;
|
|||||||
public enum AdventureModes {
|
public enum AdventureModes {
|
||||||
Standard("Standard"),
|
Standard("Standard"),
|
||||||
Constructed("Constructed"),
|
Constructed("Constructed"),
|
||||||
Chaos("[RED]Chaos"),
|
Chaos("[GOLD]Chaos"),
|
||||||
Pile("Pile"),
|
Pile("Pile"),
|
||||||
Custom("Custom");
|
Custom("Custom");
|
||||||
|
|
||||||
|
|||||||
@@ -233,6 +233,7 @@ public enum FSkinImage implements FImage {
|
|||||||
//adventure
|
//adventure
|
||||||
MANASHARD (FSkinProp.ICO_MANASHARD, SourceFile.ADVENTURE),
|
MANASHARD (FSkinProp.ICO_MANASHARD, SourceFile.ADVENTURE),
|
||||||
MENU_ADVLOGO (FSkinProp.ICO_ADVLOGO, SourceFile.ADVENTURE),
|
MENU_ADVLOGO (FSkinProp.ICO_ADVLOGO, SourceFile.ADVENTURE),
|
||||||
|
ADV_DECKBOX (FSkinProp.ICO_ADVDECKBOX, SourceFile.ADVENTURE),
|
||||||
|
|
||||||
//menu icon
|
//menu icon
|
||||||
MENU_GALAXY (FSkinProp.ICO_MENU_GALAXY, SourceFile.ICONS),
|
MENU_GALAXY (FSkinProp.ICO_MENU_GALAXY, SourceFile.ICONS),
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 28 KiB |
@@ -270,6 +270,7 @@ public enum FSkinProp {
|
|||||||
//adventure icons
|
//adventure icons
|
||||||
ICO_MANASHARD (new int[] {2, 304, 100, 100}, PropType.ADVENTURE),
|
ICO_MANASHARD (new int[] {2, 304, 100, 100}, PropType.ADVENTURE),
|
||||||
ICO_ADVLOGO (new int[] {2, 2, 300, 300}, PropType.ADVENTURE),
|
ICO_ADVLOGO (new int[] {2, 2, 300, 300}, PropType.ADVENTURE),
|
||||||
|
ICO_ADVDECKBOX (new int[] {108, 356, 189, 242}, PropType.ADVENTURE),
|
||||||
|
|
||||||
//menu icon
|
//menu icon
|
||||||
ICO_MENU_GALAXY (new int[] {0, 1520, 80, 80}, PropType.ICON),
|
ICO_MENU_GALAXY (new int[] {0, 1520, 80, 80}, PropType.ICON),
|
||||||
|
|||||||
Reference in New Issue
Block a user