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.
Player/Player.h
- Committer:
- joshdavy
- Date:
- 2019-04-17
- Revision:
- 7:68e06dda79f7
- Parent:
- 4:afbf3dd71403
- Child:
- 8:21b6d4dbce44
File content as of revision 7:68e06dda79f7:
#ifndef PLAYER_H #define PLAYER_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" #include "Bitmap.h" #include "Sprite.h" #include "Level.h" #define GRAVITY 2 /*Sprite Class*/ //extern N5110 lcd; class Player : public Sprite{ public: Player(); ~Player(); void update(Gamepad &pad, Block blocks [],int number_of_blocks); private: int _orientation; }; #endif