This library overrides the following procs to work:
atom.Crossed(M)
callsM.CrossedOther(atom)
atom.Uncrossed(M)
callsM.UncrossedOther(atom)
movable.Bump(A)
callsA.BumpedBy(movable)
..()
for the other side's effect to be called.Performance
This library adds overrides to the base atomic types. Whenever any atom is crossed, uncrossed, or bumped, these procs are called, adding overhead to most movements.
Proc | Description |
---|---|
atom/movable/CrossedOther(atom/other) |
src crossed other |
atom/Crossed(atom/movable/mover) |
src was crossed by mover |
atom/movable/UncrossedOther(atom/other) |
src uncrossed other |
atom/Uncrossed(atom/movable/mover) |
src was uncrossed by mover |
atom/movable/Bump(atom/other) |
src bumped other |
atom/BumpedBy(atom/movable/mover) |
src was bumped by mover |