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
ReflectionPaddle/RePaddle.h
- Committer:
- Mousky
- Date:
- 2020-05-27
- Revision:
- 13:76bac89c447b
- Parent:
- 12:2af7b4868033
File content as of revision 13:76bac89c447b:
#ifndef REPADDLE_H #define REPADDLE_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" #include "Paddle.h" class RePaddle { public: RePaddle(); ~RePaddle(); void init(int size); void draw(N5110 &lcd); Vector2D get_pos(); void set_pos(Vector2D p); private: int _size; int _x; int _y; }; #endif