fixed removal of enemies

This commit is contained in:
jslightham
2019-05-31 21:38:10 -04:00
parent 9641156e5b
commit dc33a5f896

View File

@@ -158,6 +158,10 @@ class Game {
// Read the Damage Given
int damageGiven = Integer.parseInt(enemyScanner.nextLine().split(":")[1].trim());
e.setDamageGiven(damageGiven);
// Read the Loot
String loot = enemyScanner.nextLine().split(":")[1].trim();
e.setLoot(loot);
masterEnemyMap.put(e, e.getRoom());
}
} catch (Exception ex) {
}