Test every gel in gel list for collisions.
Source position: agraphics.pas line 2311
procedure DoCollision( |
Rp: PRastPort |
); |
Rp |
|
A pointer to a RastPort |
Tests each gel in gel list for boundary and gel-to-gel collisions. On detecting one of these collisions, the appropriate collision- handling routine is called. See the documentation for a thorough description of which collision routine is called. This routine expects to find the gel list correctly sorted in Y,X order. The system routine SortGList() performs this function for the user.
|
initialize a gel list; must be called before using gels. |
|
|
Sort the current gel list, ordering its y,x coordinates. |