Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

DoCollision

Test every gel in gel list for collisions.

Declaration

Source position: agraphics.pas line 1997

procedure DoCollision(

  Rp: PRastPort

);

Arguments

Rp

  

A pointer to a RastPort

Description

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.

See also

InitGels

  

initialize a gel list; must be called before using gels.

SortGList

  

Sort the current gel list, ordering its y,x coordinates.


Documentation generated on: 2021-07-30