summaryrefslogtreecommitdiffstats
path: root/kpacman/pacman.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpacman/pacman.h')
-rw-r--r--kpacman/pacman.h47
1 files changed, 0 insertions, 47 deletions
diff --git a/kpacman/pacman.h b/kpacman/pacman.h
deleted file mode 100644
index 6f1a7c1..0000000
--- a/kpacman/pacman.h
+++ /dev/null
@@ -1,47 +0,0 @@
-#ifndef PACMAN_H
-#define PACMAN_H
-
-#include <stdlib.h>
-#include <tqpixmap.h>
-#include <tqwidget.h>
-
-#include "board.h"
-
-enum pacmanState { alive };
-
-class Pacman {
-public:
- Pacman(Board *b);
- void init(bool Demo = FALSE);
- void setMaxPixmaps(int max);
- void setAlive(int ticks);
- void setPosition(int pos);
- void setDirection(int dir, bool forced = FALSE);
- void setDemo(bool yes);
- pacmanState state();
- int position();
- int direction();
- bool move();
- int pix();
-
-private:
- Board *board;
-
- pacmanState actualState; // the state of pacman
- bool demo; // real life or just demo
-
- int pauseDuration; // number of ticks before next movement
- int pause; // actual ticks before movement (0=move)
-
- int actualDirection; // actual direction of pacman
- int nextDirection; // where he wants to go
- int lastPix; // last Pixmap-index before no movement
- int maxPixmaps; // Number of Pixmaps (1..)
- int actualPosition; // actual position on board
- int lastPosition; // the last position of pacman
- int mouthPosition; // eating
-
-};
-
-#endif // PACMAN_H
-