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
Food/Food.h
- Committer:
- el18lg
- Date:
- 2020-05-28
- Revision:
- 6:266fb8fc17f4
- Parent:
- 5:e0f08e8022de
- Child:
- 7:24a3f13ce36d
File content as of revision 6:266fb8fc17f4:
#ifndef FOOD_H
#define FOOD_H
#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
#include "FXOS8700CQ.h"
class Food
{
public:
Food();
~Food();
void init();
void draw(N5110 &lcd);
Vector2D get_f();
private:
int _foodx;
int _foody;
};
#endif