Adds Ziggy's pvp faction implementation.

This commit is contained in:
Zach
2015-09-21 00:23:07 -04:00
parent c5ae312627
commit a4f96018c4
4 changed files with 112 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
package resources;
public enum PvpFlag {
ATTACKABLE(1<<0),
AGGRESSIVE(1<<1),
OVERT(1<<2),
TEF(1<<3),
PLAYER(1<<4),
ENEMY(1<<5),
GOING_OVERT(1<<6),
GOING_COVERT(1<<7),
DUEL(1<<8);
private int bitmask;
PvpFlag(int bitmask) {
this.bitmask = bitmask;
}
public int getBitmask() {
return bitmask;
}
}