Formatted all files to the same standard

This commit is contained in:
matthew
2014-10-08 13:42:12 +01:00
parent 53a2a8b150
commit 3da9ad5469
151 changed files with 952 additions and 870 deletions
@@ -5,16 +5,16 @@ import java.util.EnumMap;
/**
*
* Flyweight.
*
*
*/
public class PotionFactory {
private EnumMap<PotionType, Potion> potions;
public PotionFactory() {
potions = new EnumMap<>(PotionType.class);
}
Potion createPotion(PotionType type) {
Potion potion = potions.get(type);
if (potion == null) {
@@ -45,5 +45,5 @@ public class PotionFactory {
}
return potion;
}
}