This shows you the differences between two versions of the page.
drawing_and_erasing_moles [2019/04/10 12:53] (current)
|Line 1:||Line 1:|
|+||===== Drawing and Erasing Moles =====|
|+||There are no functions for drawing and erasing moles in ''wamDisplay.h'' as this functionality is only necessary within ''wamDisplay.c''. The following two functions, implemented in ''wamDisplay.c'' draw and erase moles as necessary:|
|+||* Once the mole tick-counts have been updated, this function will either draw the mole (the mole has awakened) or erase the mole (the mole has become inactive).|
|+||* ''wamDisplay_whackMole(wamDisplay_point_t* whackOrigin)''|
|+||* This function will erase an active mole if the coordinates of the "whack" match the coordinates of an active mole.|