| 1 | // CollisionType is an enum that categorizes entities for the purpose of collision detection, used in Collider ECS component. |
| 2 | // The flag attribute allows for multiple EntityType values to be combined, enabling entities to be categorized as multiple types. |
| 3 | @[flag] |
| 4 | pub enum CollisionType { |
| 5 | obstacle |
| 6 | chicken |
| 7 | egg |
| 8 | } |
| 9 | |
| 10 | // Another descriptive comment with a linebreak separated from the next enum decl. |
| 11 | |
| 12 | @[flag] |
| 13 | pub enum Direction { |
| 14 | left |
| 15 | right |
| 16 | } |
| 17 |