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.
lib/Barrel/Barrel.h
- Committer:
- Kern_EL17KJTF
- Date:
- 2019-05-07
- Revision:
- 10:28575a6eaa13
- Child:
- 11:b288d01533cc
File content as of revision 10:28575a6eaa13:
/* ELEC2645 Project Barrel.h Class file for Barrel in Donkey Kong game. */ #ifndef BARREL_H #define BARREL_H #include "mbed.h" #include "N5110.h" #include "Barrel.h" #include "Donkey.h" class Barrel { public: int barrel_x; int barrel_y; int barrel_speed; int barrel_min; int barrel_max; float barrel_time; int running; Barrel(); ~Barrel(); void barrel_init(); void barrel_drop(Gamepad &pad, N5110 &lcd, Donkey &dky); }; #endif