mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-31 01:15:57 -04:00
GetOption()
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user