RemovalReason
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Implements
Undocumented Interfaces
Comparable<Enum>
Enum Constants
RemovalReason is an enum with 5 constants. They are accessible like so:
Members
Getter
Checks if the entity should be destroyed.
Return Type:
bool
shouldDestroy() as bool
Checks if the entity should be destroyed.
Returns: True if the entity should be destroyed.
Return Type:
bool