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
Human/human.h
- Committer:
- weixitao
- Date:
- 2017-05-05
- Revision:
- 4:402c27b212c1
- Parent:
- 3:dd4678a85a1a
File content as of revision 4:402c27b212c1:
#ifndef HUMAN_H
#define HUMAN_H
#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
/**
@brief human class for Bomb. Produce a human and it can move by joystick
@author Weixi Tao
@date 2 May 2017
*/
class human
{
public :
/** Print human *
* Prints a human to the screen buffer. String is cut-off after the 83rd pixel.
* @param humanX - the column number of human which is 3
* @param humanY - the row number of human which is 6 */
void print_human();
double humanX();
double humanY();
private:
int x;
int y;
};
#endif