GetOption()

This commit is contained in:
Treeku
2013-12-22 23:01:23 +00:00
parent c252f9f1e3
commit fb0de037f0
@@ -147,6 +147,12 @@ public class TangibleObject extends SWGObject {
}
}
public boolean getOption(int option) {
synchronized(objectMutex) {
return ((optionsBitmask & option) == option);
}
}
public void addOption(int option) {
setOptionsBitmask(getOptionsBitmask() | option);
}