package main; public class Effect { private EffectType type; private TargetType target; public Effect(EffectType type, TargetType target) { this.type = type; this.target = target; } public Effect(Effect e) { this.type = e.type; this.target = e.target; } public Effect copy() { return new Effect(this); } public EffectType getType() { return this.type; } public TargetType getTarget() { return this.target; } public void applyEffect(Object o) { } public void cancelEffect(Object o) { } }