예제 #1
0
파일: GameView.java 프로젝트: bradens/mage
 private void updateLatestCardView(Game game, Card card, UUID stackId) {
   if (!card.canTransform()) {
     return;
   }
   Permanent permanent = game.getPermanent(card.getId());
   if (permanent == null) {
     permanent =
         (Permanent) game.getLastKnownInformation(card.getId(), Constants.Zone.BATTLEFIELD);
   }
   if (permanent != null) {
     if (permanent.isTransformed()) {
       StackAbilityView stackAbilityView = (StackAbilityView) stack.get(stackId);
       stackAbilityView.getSourceCard().setTransformed(true);
     }
   }
 }