Skip to content

Instantly share code, notes, and snippets.

@AshotN
Created August 16, 2015 11:00
Show Gist options
  • Save AshotN/bdcf8fa86e66366cb0ad to your computer and use it in GitHub Desktop.
Save AshotN/bdcf8fa86e66366cb0ad to your computer and use it in GitHub Desktop.
PrayerType Enum
package com.asteria.game.character.combat.prayer;
import com.asteria.game.object.ObjectType;
/**
* The enumerated type whose elements represent the states of CombatPrayers
* can take on.
*
* @author AshotN <http://github.com/AshotN>
*/
public enum PrayerType {
THICK_SKIN(0),
BURST_OF_STRENGTH(1),
CLARITY_OF_THOUGHT(2),
ROCK_SKIN(3),
SUPERHUMAN_STRENGTH(4),
IMPROVED_REFLEXES(5),
RAPID_RESTORE(6),
RAPID_HEAL(7),
PROTECT_ITEM(8),
STEEL_SKIN(9),
ULTIMATE_STRENGTH(10),
INCREDIBLE_REFLEXES(11),
PROTECT_FROM_MAGIC(12),
PROTECT_FROM_MISSILES(13),
PROTECT_FROM_MELEE(14),
RETRIBUTION(15),
REDEMPTION(16),
SMITE(17);
/**
* The identification of this type.
*/
private final int id;
/**
* Creates a new {@link ObjectType}.
*
* @param id
* the identification of this type
*/
private PrayerType(int prayerID) {
this.id = prayerID;
}
/**
* Gets the identification of this type.
*
* @return the identification of this type.
*/
private final int getID() {
return this.id;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment