File: direc.h

package info (click to toggle)
pacman 10-7
  • links: PTS
  • area: main
  • in suites: potato, slink
  • size: 660 kB
  • ctags: 1,108
  • sloc: cpp: 3,333; makefile: 502; sh: 85
file content (10 lines) | stat: -rw-r--r-- 222 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
#ifndef __direc_h_
#define __direc_h_

//defines possible directions
typedef enum {up,down,left,right,none,still} direction;

//get next coordinates with a certain direction
void next(int*,int*,direction,int,int);

#endif