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
Diff: Human/human.h
- Revision:
- 4:402c27b212c1
- Parent:
- 3:dd4678a85a1a
--- a/Human/human.h Thu May 04 13:56:12 2017 +0000
+++ b/Human/human.h Fri May 05 12:53:09 2017 +0000
@@ -4,11 +4,19 @@
#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();