public static void complete() { weapon = null; armor = null; Notes.remove( Notes.Landmark.GHOST ); }
@Override public String desc() { return landmark.desc(); }
public void updateKeys(){ keys = new int[keyMap.size()+1]; for (Notes.KeyRecord rec : Notes.getRecords(Notes.KeyRecord.class)){ if (rec.depth() < Dungeon.depth){ //only ever 1 black key keys[0] = 1; } else if (rec.depth() == Dungeon.depth){ keys[keyMap.get(rec.type())] += rec.quantity(); } } totalKeys = 0; for (int k : keys){ totalKeys += k; } dirty = true; }
@Override public void restoreFromBundle(Bundle bundle) { super.restoreFromBundle(bundle); landmark = Landmark.valueOf(bundle.getString(LANDMARK)); }
@Override public void storeInBundle(Bundle bundle) { super.storeInBundle(bundle); bundle.put( LANDMARK, landmark.toString() ); } }
public static ArrayList<Record> getRecords(){ return getRecords(Record.class); }
@Override public void restoreFromBundle(Bundle bundle) { super.restoreFromBundle(bundle); landmark = Landmark.valueOf(bundle.getString(LANDMARK)); }
@Override public void storeInBundle(Bundle bundle) { super.storeInBundle(bundle); bundle.put( LANDMARK, landmark.toString() ); } }
public static void complete() { reward = null; completed = true; Notes.remove( Notes.Landmark.IMP ); }
@Override public String desc() { return landmark.desc(); }
public static ArrayList<Record> getRecords(){ return getRecords(Record.class); }
public static void complete() { reward = null; completed = true; Notes.remove( Notes.Landmark.IMP ); }
public static void complete() { wand1 = null; wand2 = null; Notes.remove( Notes.Landmark.WANDMAKER ); } }
public static void complete() { weapon = null; armor = null; Notes.remove( Notes.Landmark.GHOST ); }
public static void complete() { wand1 = null; wand2 = null; Notes.remove( Notes.Landmark.WANDMAKER ); } }
@Override public void destroy() { Notes.remove( Notes.Landmark.STATUE ); super.destroy(); }