User Tools

Site Tools


drawing_and_erasing_moles

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

drawing_and_erasing_moles [2019/04/10 12:53] (current)
hutch created
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:
 +  * ''​wamDisplay_updateAllMoleTickCounts()''​
 +    * 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.
  
drawing_and_erasing_moles.txt ยท Last modified: 2019/04/10 12:53 by hutch