示例#1
0
  public Wand() {
    calculateDamage();

    defaultAction = AC_ZAP;

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

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