Module Import alias Expr Str ClassDef bases body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad decorator_list Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad For NameStore NameLoad body Assign NameStore NameLoad If CompareGt AttributeLoad NameLoad attr Num body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr orelse Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad For NameStore NameLoad body Assign NameStore NameLoad If CompareGt AttributeLoad NameLoad attr Num body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Num orelse Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Num Return NameLoad decorator_list Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Slice Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list
N/A N/A pygame N/A 
    Basic collision detection system.
 BasicCollisionDetection N/A N/A N/A 
        Initializes the object.
     __init__ N/A N/A self N/A N/A N/A N/A self entities N/A N/A N/A 
        Detects any collisions with the object in the x direction. Returns True if collision detected.
     detectXCollisions N/A N/A self controllingEntity N/A N/A N/A block_hit_list N/A N/A N/A pygame sprite spritecollide controllingEntity N/A self entities False N/A collisionDetected False N/A block block_hit_list N/A N/A collisionDetected True N/A N/A N/A controllingEntity deltaX 0 N/A N/A N/A N/A controllingEntity rect right N/A N/A block rect left N/A N/A N/A N/A controllingEntity rect left N/A N/A block rect right N/A collisionDetected N/A N/A 
        Detects any collisions with the object in the y direction. Returns True if collision detected.
     detectYCollisions N/A N/A self controllingEntity N/A N/A N/A block_hit_list N/A N/A N/A pygame sprite spritecollide controllingEntity N/A self entities False N/A collisionDetected False N/A block block_hit_list N/A N/A collisionDetected True N/A N/A N/A controllingEntity deltaY 0 N/A N/A N/A N/A controllingEntity rect bottom N/A N/A block rect top N/A N/A controllingEntity deltaY 0 N/A N/A N/A N/A controllingEntity rect top N/A N/A block rect bottom N/A N/A controllingEntity deltaY 0 N/A collisionDetected N/A N/A 
        Registers an entity with the collision detection system. 
     registerEntity N/A N/A self controllingEntity entity N/A N/A N/A N/A N/A N/A self entities append entity N/A entityListCopy N/A N/A self entities N/A N/A N/A N/A entityListCopy remove controllingEntity N/A N/A self entities entityListCopy N/A N/A 
        Registers all entities to the system.
     registerEntities N/A N/A self controllingEntity entities N/A N/A N/A entityListCopy N/A entities N/A N/A N/A N/A entityListCopy remove controllingEntity N/A N/A self entities entityListCopy N/A N/A