<li>To demonstrate how the API might be used, we've written a client for it, which you can find in <code>main.cpp</code>. This client creates a tank with some fish, rocks, and seaweed, then calls the <a class="el" href="classTank.html#a6c8b0530f8e8e7d982c78aae1495558c">Tank::tick</a>, and <a class="el" href="classTank.html#a1992ee839eb20370adaafc1350a8f785">Tank::draw</a> functions to move the fish and draw them to the screen, respectively. The latter is accomplished with the help of a CursesScreen object, which is <em>not</em> part of the API you need to test, since it's specific to our demo app.</li>
0 commit comments