Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Food/Food.h@2:ea90cec2489a, 2018-02-28 (annotated)
- Committer:
- JRM1986
- Date:
- Wed Feb 28 15:20:14 2018 +0000
- Revision:
- 2:ea90cec2489a
- Parent:
- 1:c3fdbc4b1293
- Child:
- 3:50f01159c61d
Basic structure of .h & .cpp files complete including includes, and constructors/destructors
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
JRM1986 | 2:ea90cec2489a | 1 | #ifndef FOOD_H |
JRM1986 | 2:ea90cec2489a | 2 | #define FOOD_H |
JRM1986 | 2:ea90cec2489a | 3 | |
JRM1986 | 2:ea90cec2489a | 4 | #include "mbed.h" |
JRM1986 | 2:ea90cec2489a | 5 | #include "N5110.h" |
JRM1986 | 2:ea90cec2489a | 6 | #include "GamePad.h" |
JRM1986 | 2:ea90cec2489a | 7 | #include "FXOS8700CQ.h" |
JRM1986 | 2:ea90cec2489a | 8 | |
JRM1986 | 2:ea90cec2489a | 9 | /** Food Class |
JRM1986 | 1:c3fdbc4b1293 | 10 | * @brief Describes the methods and functions for the food |
JRM1986 | 1:c3fdbc4b1293 | 11 | * @author Joshua R. Marshall |
JRM1986 | 1:c3fdbc4b1293 | 12 | * @date Feb, 2018 |
JRM1986 | 2:ea90cec2489a | 13 | */ |
JRM1986 | 2:ea90cec2489a | 14 | |
JRM1986 | 2:ea90cec2489a | 15 | class Food |
JRM1986 | 2:ea90cec2489a | 16 | { |
JRM1986 | 2:ea90cec2489a | 17 | |
JRM1986 | 2:ea90cec2489a | 18 | public: |
JRM1986 | 2:ea90cec2489a | 19 | Food(); // constructor |
JRM1986 | 2:ea90cec2489a | 20 | ~Food(); // destructor |
JRM1986 | 2:ea90cec2489a | 21 | |
JRM1986 | 2:ea90cec2489a | 22 | |
JRM1986 | 2:ea90cec2489a | 23 | private: |
JRM1986 | 2:ea90cec2489a | 24 | |
JRM1986 | 2:ea90cec2489a | 25 | |
JRM1986 | 2:ea90cec2489a | 26 | }; |
JRM1986 | 2:ea90cec2489a | 27 | #endif |