View Javadoc

1   
2   
3   package org.catacomb.druid.blocks;
4   
5   import org.catacomb.druid.build.Context;
6   import org.catacomb.druid.build.GUIPath;
7   import org.catacomb.druid.gui.base.DruCardSelectionEffect;
8   import org.catacomb.druid.gui.edit.Effect;
9   
10  
11  public class CardSelectionEffect extends BaseEffect {
12  
13      public String target;
14      public String show;
15  
16  
17  
18      public Effect realize(Context ctx, GUIPath gpath) {
19          Effect eff = new DruCardSelectionEffect(target, show);
20  
21          ctx.getMarketplace().addViewer("TargetStore", eff, "access");
22  
23          return eff;
24      }
25  
26  
27  
28  }