Conforms to NSObject
Declared in OGWContactAspect.h

Overview

Protocol for OGWContactAspect delegates to receive contact information.

Instance Methods

aspect:contactDidBeginWithEntity:

Sent when a contact with another object began.

- (void)aspect:(OGWContactAspect *)aspect contactDidBeginWithEntity:(OGWEntity *)contact

Parameters

aspect

The OGWContactAspect that generated the event.

contact

The entity with which the aspect’s entity is in contact with.

Declared In

OGWContactAspect.h

aspect:contactDidEndWithEntity:

Sent when a contact with another object ended.

- (void)aspect:(OGWContactAspect *)aspect contactDidEndWithEntity:(OGWEntity *)contact

Parameters

aspect

The OGWContactAspect that generated the event.

contact

The entity which the aspect’s entity lost contact with.

Declared In

OGWContactAspect.h

aspect:contactWithEntity:

Sent when a contact with another object exists. This is a continuous event that fires as long as the contact exists. Therefore avoid implementing this method when at all possible. It may be needed to continously resolve the contact, for example to ensure the two entities in contact do not intersect (or no more than a given threshold).

- (void)aspect:(OGWContactAspect *)aspect contactWithEntity:(OGWEntity *)contact

Parameters

aspect

The OGWContactAspect that generated the event.

contact

The entity with which the aspect’s entity is in contact with.

Declared In

OGWContactAspect.h