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
Two/Two.h@5:5c132202b642, 2020-05-17 (annotated)
- Committer:
- ll17lrc
- Date:
- Sun May 17 19:09:13 2020 +0000
- Revision:
- 5:5c132202b642
- Child:
- 13:fd290d2fd917
Attempt to publish to own account;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ll17lrc | 5:5c132202b642 | 1 | #ifndef TWO_H |
ll17lrc | 5:5c132202b642 | 2 | #define TWO_H |
ll17lrc | 5:5c132202b642 | 3 | |
ll17lrc | 5:5c132202b642 | 4 | #include "mbed.h" |
ll17lrc | 5:5c132202b642 | 5 | #include "N5110.h" |
ll17lrc | 5:5c132202b642 | 6 | #include "Gamepad.h" |
ll17lrc | 5:5c132202b642 | 7 | |
ll17lrc | 5:5c132202b642 | 8 | |
ll17lrc | 5:5c132202b642 | 9 | /** Ball Class |
ll17lrc | 5:5c132202b642 | 10 | @author Dr Craig A. Evans, University of Leeds |
ll17lrc | 5:5c132202b642 | 11 | @brief Controls the ball in the Pong game |
ll17lrc | 5:5c132202b642 | 12 | @date Febraury 2017 |
ll17lrc | 5:5c132202b642 | 13 | */ |
ll17lrc | 5:5c132202b642 | 14 | class Two |
ll17lrc | 5:5c132202b642 | 15 | { |
ll17lrc | 5:5c132202b642 | 16 | |
ll17lrc | 5:5c132202b642 | 17 | public: |
ll17lrc | 5:5c132202b642 | 18 | Two(); |
ll17lrc | 5:5c132202b642 | 19 | ~Two(); |
ll17lrc | 5:5c132202b642 | 20 | void draw(N5110 &lcd); |
ll17lrc | 5:5c132202b642 | 21 | /// accessors and mutators |
ll17lrc | 5:5c132202b642 | 22 | |
ll17lrc | 5:5c132202b642 | 23 | private: |
ll17lrc | 5:5c132202b642 | 24 | |
ll17lrc | 5:5c132202b642 | 25 | |
ll17lrc | 5:5c132202b642 | 26 | }; |
ll17lrc | 5:5c132202b642 | 27 | #endif |