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
Enemy/Enemy.h
- Committer:
- el17m2h
- Date:
- 2019-05-08
- Revision:
- 29:15e9640646b7
- Parent:
- 26:d16a5b1e0ace
- Child:
- 37:71f2cd073739
File content as of revision 29:15e9640646b7:
#ifndef ENEMY_H #define ENEMY_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" /** Enemy class @brief Class for the ghost enemies @author Melissa Hartmann @date May 2019 */ class Enemy { public: Enemy(); ~Enemy(); void update(Vector2D floor_pos); void draw(N5110 &lcd); void erase(); Vector2D get_position(); void set_score(int score); private: Vector2D _position; }; #endif