Closed johnstairs closed 1 year ago
We should have a special kind of enum for flags that are meant to be bitwise ORed together:
!flags values: - none - red - green - blue
The first value will always be 0.
As with enums, you can specify the base type and integer values:
!flags values: none: 0 red: 1 green: 2 blue: 4
Implemented in #57
We should have a special kind of enum for flags that are meant to be bitwise ORed together:
The first value will always be 0.
As with enums, you can specify the base type and integer values: