Index Hierarchy OGWWorldDelegate Protocol Reference Conforms to NSObject Declared in OGWWorld.h Overview World delegate protocol can be implemented by view to react to world events. Tasks Entities – didAddEntity: required method – willRemoveEntity: required method Instance Methods didAddEntity: Received when an entity was added to the world. Can be used to create a corresponding view object and set it as the entity’s delegate. - (void)didAddEntity:(OGWEntity *)entity Parameters entity The entity that was added. Declared In OGWWorld.h willRemoveEntity: Received before an entity is removed from the world. Can be used to remove the entity’s view. - (void)willRemoveEntity:(OGWEntity *)entity Parameters entity The entity that will be removed. Declared In OGWWorld.h Index Hierarchy