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
Avenger/Avenger.h
- Committer:
- davidwst421
- Date:
- 2019-05-09
- Revision:
- 12:660458c41c8e
- Parent:
- 7:193c0fd7afdd
- Child:
- 14:13e82f720bea
File content as of revision 12:660458c41c8e:
#ifndef AVENGER_H #define AVENGER_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" class Avenger { public: Avenger(); ~Avenger(); void init(int x); void draw(N5110 &lcd); void update(Direction d,float mag,Vector2D mapped_coord); void add_score(); void lose_score(); int get_score(); Vector2D get_pos(); private: int _size; int _x; int _y; int _scale; int _score; int _easter; }; #endif