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.
Diff: life.h
- Revision:
- 1:48b0bf0bcda8
- Child:
- 2:cc9d8ec2e1f4
diff -r 03d005063b30 -r 48b0bf0bcda8 life.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/life.h Fri May 15 12:32:47 2020 +0000
@@ -0,0 +1,24 @@
+#ifndef LIFE_H
+#define LIFE_H
+
+
+#include "Bitmap.h"
+#include "N5110.h"
+#include "Gamepad.h"
+class life{
+ public:
+ void init();
+ void update();
+ void display(N5110 &lcd);
+ int liferest();
+
+ private:
+ int _x;
+ int _y;
+ int _num;
+ int _width;
+ int _height;
+ int data[56];
+};
+#endif
+