forked from External/mage
* UI: improved cards appearance:
* added colorized PT values (boosted is green, unboosted is red); * added toughness with damage calcs (damaged is red); * image render: now title and PT texts are readable/big in small cards; * mtgo render: improved image quality (less pixelated now); * mtgo render: improved PT font (bold now);
This commit is contained in:
parent
060766bb0a
commit
5c48803ef9
9 changed files with 268 additions and 89 deletions
|
|
@ -53,6 +53,10 @@ public class MageObjectReference implements Comparable<MageObjectReference>, Ser
|
|||
|
||||
public MageObjectReference(UUID sourceId, Game game) {
|
||||
this.sourceId = sourceId;
|
||||
if (sourceId == null) {
|
||||
throw new IllegalArgumentException("MageObjectReference contains nullable sourceId");
|
||||
}
|
||||
|
||||
MageObject mageObject = game.getObject(sourceId);
|
||||
if (mageObject != null) {
|
||||
this.zoneChangeCounter = mageObject.getZoneChangeCounter(game);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue