Coby Lu / direction

Dependents:   snake

Committer:
lucoby
Date:
Thu Oct 11 18:54:32 2012 +0000
Revision:
0:d8f0c4ba09cc
initial

Who changed what in which revision?

UserRevisionLine numberNew contents of line
lucoby 0:d8f0c4ba09cc 1 #ifndef DIRECTION_H
lucoby 0:d8f0c4ba09cc 2 #define DIRECTION_H
lucoby 0:d8f0c4ba09cc 3
lucoby 0:d8f0c4ba09cc 4 typedef enum {
lucoby 0:d8f0c4ba09cc 5 none,
lucoby 0:d8f0c4ba09cc 6 left,
lucoby 0:d8f0c4ba09cc 7 right,
lucoby 0:d8f0c4ba09cc 8 up,
lucoby 0:d8f0c4ba09cc 9 down
lucoby 0:d8f0c4ba09cc 10 } SDirection;
lucoby 0:d8f0c4ba09cc 11
lucoby 0:d8f0c4ba09cc 12 SDirection getDirection(SDirection direction);
lucoby 0:d8f0c4ba09cc 13
lucoby 0:d8f0c4ba09cc 14 #endif