diff --git a/DTRAM/src/strategy/DragonSlayer.java b/DTRAM/src/strategy/DragonSlayer.java new file mode 100644 index 0000000..b5eba83 --- /dev/null +++ b/DTRAM/src/strategy/DragonSlayer.java @@ -0,0 +1,18 @@ +package strategy; + +import java.util.*; + +public class DragonSlayer { + private MeleeStrategy meleeStrategy; + private SpellStrategy spellStrategy; + private ProjectileStrategy projectileStrategy; + private Map.Entry value = new AbstractMap.SimpleEntry<>(0, "none"); + public DragonSlayer(MeleeStrategy meleeStrategy, SpellStrategy spellStrategy, ProjectileStrategy projectileStrategy) { + this.meleeStrategy = meleeStrategy; + this.spellStrategy = spellStrategy; + this.projectileStrategy = projectileStrategy; + } + public Map.Entry getValue() { + return new AbstractMap.SimpleEntry<>(value); + } +} \ No newline at end of file