All Downloads are FREE. Search and download functionalities are using the official Maven repository.

simple.server.extension.d20.saving_throw.D20SavingThrow Maven / Gradle / Ivy

The newest version!
package simple.server.extension.d20.saving_throw;

import simple.server.extension.d20.D20Characteristic;
import simple.server.extension.d20.ability.D20Ability;

/**
 *
 * @author Javier A. Ortiz Bultron [email protected]
 */
public interface D20SavingThrow extends D20Characteristic {

    /**
     * Get the ability tied to this throw.
     *
     * @return ability for this saving throw
     */
    public Class getAbility();

    /**
     * Get base score.
     *
     * @return base score.
     */
    public int getBaseScore();

    /**
     * Set base score.
     *
     * @param score new base score
     */
    public void setBaseScore(int score);

    /**
     * Get misc modifier.
     *
     * @return misc modifier.
     */
    public int getMiscMod();

    /**
     * Set misc modifier.
     *
     * @param score new misc modifier
     */
    public void setMiscMod(int score);

    /**
     * Get total score.
     *
     * @return total score.
     */
    public int getScore();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy