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
Apple/Apple.h
- Committer:
- Psy1990
- Date:
- 2020-06-05
- Revision:
- 8:32825d724856
- Child:
- 10:3e37b58e8600
File content as of revision 8:32825d724856:
#ifndef APPLE_H
#define APPLE_H
#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
class Apple
{
public:
Apple();
~Apple();
void init(int size);
void draw(N5110 &lcd);
Vector2D get_pos();
void set_pos(Vector2D a);
private:
int _x;
int _y;
int _size;
};
#endif