Extends class Entity.
Definition at line 321 of file Entity.m.
322{
323
325 int n;
326 Entity *check, *last;
327
329
332 while ((n--) && (check)) {
333 last = check;
335 }
336 if ((check) || (n > 0)) {
338 return NO;
339 }
340
342 check = last;
343 while ((n--) && (check))
345 if ((check) || (n > 0)) {
347 return NO;
348 }
349
352 while ((n--) && (check)) {
353 last = check;
355 }
356 if ((check) || (n > 0)) {
358 return NO;
359 }
360
362 check = last;
363 while ((n--) && (check))
365 if ((check) || (n > 0)) {
367 return NO;
368 }
369
372 while ((n--) && (check)) {
373 last = check;
375 }
376 if ((check) || (n > 0)) {
378 return NO;
379 }
380
382 check = last;
383 while ((n--) && (check))
385 if ((check) || (n > 0)) {
387 return NO;
388 }
389 }
390 return YES;
391}
static NSString *const kOOLogEntityVerificationError
#define OOLog(class, format,...)
References checkLinkedLists, kOOLogEntityVerificationError, nil, OOLog, UNIVERSE, Entity::x_next, Entity::x_previous, Entity::y_next, Entity::y_previous, Entity::z_next, and Entity::z_previous.
Referenced by Entity::addToLinkedLists, checkLinkedLists, Entity::removeFromLinkedLists, and Entity::updateLinkedLists.