forked from External/mage
Dungeon improves:
* Dungeons: added dungeon name hint to room's game log and choices (part of #12274); * GUI, game: added card popup hints support in feedback panel (yes/no choices); * Images: fixed miss images for dungeons in command zone, game logs and choice dialogs;
This commit is contained in:
parent
cd51954208
commit
b40e7222b3
9 changed files with 94 additions and 26 deletions
|
|
@ -584,6 +584,9 @@ public abstract class GameImpl implements Game {
|
|||
return emblem;
|
||||
}
|
||||
TheRingEmblem newEmblem = new TheRingEmblem(playerId);
|
||||
|
||||
// TODO: add image info
|
||||
|
||||
state.addCommandObject(newEmblem);
|
||||
return newEmblem;
|
||||
}
|
||||
|
|
@ -1971,7 +1974,9 @@ public abstract class GameImpl implements Game {
|
|||
ability.setSourceId(newEmblem.getId());
|
||||
}
|
||||
|
||||
state.addCommandObject(newEmblem); // TODO: generate image for emblem here?
|
||||
// image info setup in setSourceObject
|
||||
|
||||
state.addCommandObject(newEmblem);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -1999,6 +2004,9 @@ public abstract class GameImpl implements Game {
|
|||
for (Ability ability : newPlane.getAbilities()) {
|
||||
ability.setSourceId(newPlane.getId());
|
||||
}
|
||||
|
||||
// image info setup in setSourceObject
|
||||
|
||||
state.addCommandObject(newPlane);
|
||||
informPlayers("You have planeswalked to " + newPlane.getLogName());
|
||||
|
||||
|
|
@ -2020,6 +2028,7 @@ public abstract class GameImpl implements Game {
|
|||
@Override
|
||||
public Dungeon addDungeon(Dungeon dungeon, UUID playerId) {
|
||||
dungeon.setControllerId(playerId);
|
||||
dungeon.setSourceObject();
|
||||
state.addCommandObject(dungeon);
|
||||
return dungeon;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue