Skip to content

Conversation

Axionize
Copy link
Contributor

Add infrastructure to support check reloading
Axionize/LightningGrim#26

You added 2 commits December 20, 2024 20:34
* isCheckType(CheckType type) -> is(CheckType type)
* getCheckMask() -> getMask()
* make getUnloadedBehaviour() default to return the default unloaded behaviour instance
public int getMask() {
return mask;
}
} No newline at end of file

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
}
}


private final int mask;

CheckType(int bitPosition) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you could get bitPosition from ordinal() instead of it being a constructor parameter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants