Back to project page GhostStories.
The source code is released under:
GNU General Public License
If you think the Android project GhostStories 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 games.ghoststories.enums; // www . j ava 2 s. c om import games.ghoststories.R; /** * Defines the different phases of combat */ public enum ECombatPhase { ATTACK(R.string.combat_attack), ATTACK_2(R.string.combat_attack_2), RESOLUTION(R.string.combat_resolution); /** * Constructor * @param pCombatStringId The instruction string for the combat phase */ private ECombatPhase(int pCombatStringId) { mCombatStringId = pCombatStringId; } /** * @return The instruction string for the combat phase */ public int getCombatStringId() { return mCombatStringId; } /** The instruction string for the combat phase **/ private final int mCombatStringId; }