CollisionMessage is sent whenever a collision is detected by the CollisionSystem.
| 499 | |
| 500 | // CollisionMessage is sent whenever a collision is detected by the CollisionSystem. |
| 501 | type CollisionMessage struct { |
| 502 | Entity collisionEntity |
| 503 | To collisionEntity |
| 504 | Groups CollisionGroup |
| 505 | } |
| 506 | |
| 507 | // CollisionGroup is intended to be used in bitwise comparisons |
| 508 | // The user is expected to create a const ( a = 1 << iota \n b \n c etc) |
nothing calls this directly
no outgoing calls
no test coverage detected