File: gpacman.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 (26 lines) | stat: -rw-r--r-- 544 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef __gpacman_h_ 
#define __gpacman_h_
#include"gmoveabl.h"
#include"usrinter.h"
#include"colour.h"
#include"direc.h"

class G_Pacman : public G_Moveables {

PIXMAPTYPE pix0,pixl,pixr,pixu,pixd;	//pixmaps for mouth shut, and mouth
					//open in left right up down direction

direction look;				//direction to look
int mouth;				//mouth open?

public:

G_Pacman();				//constructor
~G_Pacman();				//destructor
void draw(int,int,direction,direction);	//draw pacman x,y direction and try_d
GID_TYPE getgid(direction,direction);

};

#endif