package pm;

public class Task {
    protected Action action;
    protected Target target;

    public Task(Action action, Target target) {
        this.action = action;
        this.target = target;
    }
    
    public Task(Action action) {
        this(action, Target.MAIN);
    }

    public Action getAction() {
        return action;
    }

    public Target getTarget() {
        return target;
    }
}
