Class cocos.collision_model.CollisionManagerBruteForce

Implements the CollisionManager interface with with the simpler code possible.

Intended for reference and debuging, it has very bad performance.

Look at CollisionManager for other class and methods documentation.

Methods

  __init__(self)
  add(self, obj)
  remove_tricky(self, obj)
  clear(self)
  they_collide(self, obj1, obj2)
  objs_colliding(self, obj)
  iter_colliding(self, obj)
  any_near(self, obj, near_distance)
  objs_near(self, obj, near_distance)
  objs_near_wdistance(self, obj, near_distance)
  ranked_objs_near(self, obj, near_distance)
  iter_all_collisions(self)
  knows(self, obj)
  known_objs(self)
  objs_touching_point(self, x, y)
  objs_into_box(self, minx, maxx, miny, maxy)