Home | Trees | Indices | Help |
|
---|
|
object --+ | collide_circle_ratio
pyj2d.sprite.collide_circle_ratio
Return a callable that checks two sprites intersect by checking by intersection of circle around their centers. The ratio attribute will determine scaling of the circle, where 1.0 is same size. Will use sprite radius attribute or circle will encompass rect attribute. Can be used as spritecollide callback function.
Instance Methods | |||
|
|||
|
|||
Inherited from |
Properties | |
Inherited from |
Method Details |
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Dec 4 18:31:29 2021 | http://epydoc.sourceforge.net |