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: Block.h
- Revision:
- 2:891b3618be4f
- Parent:
- 1:bb1507f0bb64
--- a/Block.h Fri May 01 09:22:50 2015 +0000
+++ b/Block.h Fri May 01 10:12:55 2015 +0000
@@ -1,15 +1,13 @@
#ifndef BLOCK
#define BLOCK
-class Point{
-
+class Block{
+ public :
int x, y, z;
int size, height;
- public :
- getEuclidPoint
- void moveUp();
- void moveDown();
- void rotateRight();
- void rotateLeft();
+ Block (int, int, int, int, int);
+ Block ();
+ void moveRight();
+ void moveLeft();
void moveIn();
void moveOut();
};