Skip to content

Commit e084b10

Browse files
thomasvtcodingben
authored andcommitted
ContactEdge: changed fields from private to public
body.GetContactList() was useless, because all fields in returned data are private. In original C++ they are implicitly public because ContactEdge is a struct.
1 parent 3fe6347 commit e084b10

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/box2dx/Box2D.NetStandard/Dynamics/Contacts/ContactEdge.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,21 @@ public class ContactEdge
4141
/// <summary>
4242
/// The contact.
4343
/// </summary>
44-
internal Contact contact;
44+
public Contact contact;
4545

4646
/// <summary>
4747
/// The next contact edge in the body's contact list.
4848
/// </summary>
49-
internal ContactEdge next;
49+
public ContactEdge next;
5050

5151
/// <summary>
5252
/// Provides quick access to the other body attached.
5353
/// </summary>
54-
internal Body other;
54+
public Body other;
5555

5656
/// <summary>
5757
/// The previous contact edge in the body's contact list.
5858
/// </summary>
59-
internal ContactEdge prev;
59+
public ContactEdge prev;
6060
}
6161
}

0 commit comments

Comments
 (0)