mosp :: collide :: Polygon :: Class Polygon
[hide private]
[frames] | no frames]

Class Polygon

source code


A collidable polygon. Nothing implemented yet.


Status: not implemented

Author: P. Tute

Instance Methods [hide private]
 
collide_circle(self, x, y, radius)
Checks if this polygon collides with the given circle.
source code
 
collide_polygon(corners)
Checks if this polygon collides with the given polygon.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

collide_circle(self, x, y, radius)

source code 

Checks if this polygon collides with the given circle.

Status: not implemented

collide_polygon(corners)

source code 

Checks if this polygon collides with the given polygon.

Status: not implemented