Back to project page rpg-droid.
The source code is released under:
Apache License
If you think the Android project rpg-droid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.thing.rpg_droid.pathfinder; /*from ww w.ja v a2s . com*/ /** * Created by jon on 4/10/14. */ public class Initiative { private Character mCharacter; private int mMiscBonus; public Initiative(Character pCharacter) { mCharacter = pCharacter; } public int getTotal() { return mCharacter.getAbility(Ability.AbilityName.DEX).getCurrentModifier() + mMiscBonus; } public int getMiscBonus() { return mMiscBonus; } public void setMiscBonus(int pValue) { mMiscBonus = pValue; } }