package org.asciicerebrum.mydndgame.domain.ruleentities;

import org.asciicerebrum.mydndgame.domain.mechanics.bonus.source.BonusSource;
import org.asciicerebrum.mydndgame.domain.mechanics.bonus.source.BonusSources;
import org.asciicerebrum.mydndgame.domain.mechanics.observer.source.ObserverSource;

/**
 *
 * @author species8472
 */
public class Feat extends Feature implements BonusSource, ObserverSource {

    /**
     * The feat itself.
     */
    private FeatType featType;

    /**
     * The object this feat is bound to. Only needed for special feats which are
     * restricted to be bound to one type of object only. E.g. Weapon Focus,
     * which is bound to one type of weapon.
     */
    private FeatBinding featBinding;

    /**
     * @return the featType
     */
    public final FeatType getFeatType() {
        return featType;
    }

    /**
     * @param featTypeInput the featType to set
     */
    public final void setFeatType(final FeatType featTypeInput) {
        this.featType = featTypeInput;
    }

    /**
     * @return the featBinding
     */
    public final FeatBinding getFeatBinding() {
        return featBinding;
    }

    /**
     * @param featBindingInput the featBinding to set
     */
    public final void setFeatBinding(final FeatBinding featBindingInput) {
        this.featBinding = featBindingInput;
    }

    @Override
    public final BonusSources getBonusSources() {
        return BonusSources.EMPTY_BONUSSOURCES;
    }

}

@@ -131,171 +131,9 @@
 urce
-;%0Aimport org.asciicerebrum.mydndgame.domain.mechanics.bonus.source.BonusSources;%0Aimport org.asciicerebrum.mydndgame.domain.mechanics.observer.source.ObserverSource
+s
 ;%0A%0A/
@@ -203,47 +203,8 @@
 ure 
-implements BonusSource, ObserverSource 
 %7B%0A%0A 

remove some minor findbugs issue