TomYumBoys / Mbed 2 deprecated MM2017

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Cell.h Source File

Cell.h

00001 #ifndef __CELL_H__
00002 #define __CELL_H__
00003 
00004 /**
00005  * Defines a cell structure.
00006  * For now it indicates a pair of coordinate, will later be extended
00007  * to cells in maze after the flood-fill algorithm is in place.
00008  */
00009 class Cell {
00010 
00011 public:
00012     int x;
00013     int y;
00014     Cell(int x, int y) : x(x), y(y) {}
00015 };
00016 #endif