The original snake game for the mbedgc
Dependencies: mbed EthernetNetIf HTTPClient
Fork of SimpleLib_03272011 by
mbedGC/Snake.h
- Committer:
- jp
- Date:
- 2013-08-22
- Revision:
- 2:da81fd97aa86
- Parent:
- 0:011be8250218
File content as of revision 2:da81fd97aa86:
#define Node struct NodeStruct Node { int x, y; Node * next; }; class Snake { public: Snake( ); void addHead( int xC, int yC ); void removeTail( ); int getTailXCor(); int getTailYCor(); int getSize(); private: Node * head; Node * tail; int size; };