Because people keep annoying me about it (copy/pasted from my OSBot 1 script so obviously modify to your liking):
/**
* Created with IntelliJ IDEA
* User: Anthony
* Date: 2/24/14
*/
public enum JadAttackStyle {
MAGE(2656, Prayer.PROTECT_FROM_MAGIC, Color.BLUE),
MELEE(2655, Prayer.PROTECT_FROM_MELEE, Color.RED),
RANGE(2652, Prayer.PROTECT_FROM_MISSILES, Color.GREEN);
private int animationId;
private Prayer prayer;
private Color textColor;
private JadAttackStyle(int animationId, Prayer prayer, Color textColor) {
this.animationId = animationId;
this.prayer = prayer;
this.textColor = textColor;
}
public int getAnimationId() {
return animationId;
}
public Prayer getPrayer() {
return prayer;
}
public Color getTextColor() {
return textColor;
}
}