Module cocos.collision_model

Classes

  Cshape
Represents an abstract geometric shape in the 2D space, and can answer questions about proximity or intersection with other shapes.
  CollisionManager
Answers questions about proximity or collision with known objects.
  CircleShape
Implements the Cshape interface that uses discs as geometric shape.
  AARectShape
Implements the Cshape interface that uses rectangles with sides paralell to the coordinate axis as geometric shape.
  CollisionManagerBruteForce
Implements the CollisionManager interface with with the simpler code possible.
  CollisionManagerGrid
Implements the CollisionManager interface based on the scheme known as spatial hashing.

Variables

  __package__ = 'cocos'