Struct ContactListHead.ContactEnumerator
- Namespace
- Alis.Core.Physic.Dynamics.Contacts
- Assembly
- Alis.dll
The contact enumerator
private struct ContactListHead.ContactEnumerator : IEnumerator<Contact>, IEnumerator, IDisposableImplements
Inherited Members
Constructors
ContactEnumerator(ContactListHead)
Initializes a new instance of the Alis.Core.Physic.Dynamics.Contacts.ContactListHead.ContactEnumerator class
public ContactEnumerator(ContactListHead contact)Parameters
contactContactListHead-
The contact
Fields
_head
The head
private ContactListHead _headField Value
Properties
Current
Gets or sets the value of the current
public Contact Current { readonly get; private set; }Property Value
IEnumerator.Current
Gets the value of the current
object IEnumerator.Current { get; }Property Value
Methods
Dispose()
Disposes this instance
public void Dispose()MoveNext()
Describes whether this instance move next
public bool MoveNext()Returns
- bool
-
The bool
Reset()
Resets this instance
public void Reset()