package strategy;
import java.util.*;
public class SpellStrategy {
private Map.Entry<Integer, Object> value = new AbstractMap.SimpleEntry<>(3, "YouCastTheSpellOfDisintegrationAndTheDragonVaporizesInAPileOfDust!");
public void updateDragonSlayer(Map.Entry<Object, Object> dragonSlayer) {
Map.Entry<Integer, Object> temp_if4;
if ((this.value.getKey()==dragonSlayer.getKey())) {
temp_if4 = this.value;
} else {
temp_if4 = new AbstractMap.SimpleEntry<>(0, "none");
}
value = temp_if4;
}
public Map.Entry<Integer, Object> getValue() {
return new AbstractMap.SimpleEntry<>(value);
}
}