Final Commit

Dependencies:   mbed

Revisions of Food/Food.cpp

Revision Date Message Actions
25:f03439ee32c6 2018-05-08 Tidying up 1; File  Diff  Annotate
22:7f81fca01f02 2018-05-01 Comments for Snake and Food Classes complete; File  Diff  Annotate
21:63c5590cb2c2 2018-04-30 No longer increments in steps of 2, init functions work File  Diff  Annotate
18:406fc298a7c4 2018-04-30 Save Commit File  Diff  Annotate
17:94dd8a691d4a 2018-04-25 segments adding to tail but with gap between each File  Diff  Annotate
15:4c97fe30f3b7 2018-04-12 Food randomly appears, at user defined intervals; File  Diff  Annotate
9:561e5681b7a6 2018-04-03 Functions to set and return direction of snake head, and position of snake head respectively done but not tested File  Diff  Annotate
8:a2b431b9b3f7 2018-03-22 Function to get random position for food now working; To do next; Snake movement; Snake collision detection; File  Diff  Annotate
7:c38800a428a6 2018-03-21 Initialisation of Food class completed, de-bugged but not tested with testing class; File  Diff  Annotate
6:f3f508cea1c4 2018-03-16 Basic functions for main, and SnakeEngine introduced but not defined File  Diff  Annotate
5:27fcb9b36e7e 2018-03-13 Basic functions and methods done for Food class.; Testing suggests that pixel is not being randomly set, or within range of 48*84 display. File  Diff  Annotate
4:a9634970d33e 2018-03-07 Testing Class created File  Diff  Annotate
3:50f01159c61d 2018-03-06 Food - accessor, mutator created - failed to return a random x/y value in testing File  Diff  Annotate
2:ea90cec2489a 2018-02-28 Basic structure of .h & .cpp files complete including includes, and constructors/destructors File  Diff  Annotate
1:c3fdbc4b1293 2018-02-28 Basic classes; Snake, Food, & SnakeEngine added but not defined File  Diff  Annotate