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
Basket.h
- Committer:
- el18jgb
- Date:
- 2020-04-22
- Revision:
- 1:1144f48b5965
File content as of revision 1:1144f48b5965:
#ifndef BASKET_H #define BASKET_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" /** Basket Class @date april 2020 */ class Basket { public: Basket(); ~Basket(); void init(); void draw(N5110 &lcd); void update(Gamepad &pad); //Vector2D get_pos(); private: int _height; int _width; int _x; int _y; //int d; float mag; int _speed; }; #endif