Homepage
Recent Changes
Search:
History of 2016-04-02 Pen up and down, smoke test and UI considerations
2016-04-02
19:29 UTC
Revision 1
. . . .
Marcin Borkowski
–
Yesterday was an interesting day for Logeox. First of all, I added the pen up/pen down feature. It was quite easy under the hood: just add a Boolean field to the Turtle object, and generate getters and setters (I still honestly don’t know why). Then, in the goForward method, use lineTo or moveTo depending on the pen state.