Exemplo n.º 1
0
  public Wand() {
    calculateDamage();

    defaultAction = AC_ZAP;

    try {
      image = handler.image(this);
      wood = handler.label(this);
    } catch (Exception e) {
      // Wand of Magic Missile
    }
  }
Exemplo n.º 2
0
  public void setKnown() {
    if (!isKnown()) {
      handler.know(this);
    }

    Badges.validateAllWandsIdentified();
  }
Exemplo n.º 3
0
 public static boolean allKnown() {
   return handler.known().size() == wands.length;
 }
Exemplo n.º 4
0
 protected boolean isKnown() {
   return handler.isKnown(this);
 }
Exemplo n.º 5
0
 public static void save(Bundle bundle) {
   handler.save(bundle);
 }
Exemplo n.º 6
0
 public Scroll() {
   super();
   image = handler.image(this);
   rune = handler.label(this);
 }
Exemplo n.º 7
0
 public static HashSet<Class<? extends Scroll>> getUnknown() {
   return handler.unknown();
 }
Exemplo n.º 8
0
 public boolean isKnown() {
   return handler.isKnown(this);
 }