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 Gamepad2 ELEC2645_Project_el18rg
Dependents: ELEC2645_Project_el18rg
Collision/Collision.h
- Committer:
- el18rg
- Date:
- 2020-05-27
- Revision:
- 2:b936aa854de2
- Child:
- 3:2f4a7787beb3
File content as of revision 2:b936aa854de2:
#ifndef COLLISION_H
#define COLLISION_H
#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
class Collision {
public:
/** Constructor */
Collision();
/** Destructor */
~Collision();
/** Checks if the pixel below the arrow has hit another activated pixel
* @return Return true if a activatd pixel is detected, false if not
*/
bool bottom(N5110 &lcd, int x, int y);
};
#endif