| 78 | } |
| 79 | |
| 80 | type B2JointDefInterface interface { |
| 81 | GetType() uint8 |
| 82 | SetType(t uint8) |
| 83 | GetUserData() interface{} |
| 84 | SetUserData(userdata interface{}) |
| 85 | GetBodyA() *B2Body |
| 86 | SetBodyA(body *B2Body) |
| 87 | GetBodyB() *B2Body |
| 88 | SetBodyB(body *B2Body) |
| 89 | IsCollideConnected() bool |
| 90 | SetCollideConnected(flag bool) |
| 91 | } |
| 92 | |
| 93 | // Implementing B2JointDefInterface on B2Joint (used as a base struct) |
| 94 | func (def B2JointDef) GetType() uint8 { |
nothing calls this directly
no outgoing calls
no test coverage detected