File size: 824 Bytes
0ef7a64 |
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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
#include <iostream>
using namespace std;
#include <fstream>
#include <string>
#include "Utilities.h"
#include "Game.h"
#include "Ghost.h"
#include "Maze.h"
#include "Pacman.h"
#include "AnotherGhost.h"
#include "Node.h"
#include "Edge.h"
#include "Dijkstra.h"
#include <climits>
#include <ctime>
/*
AnotherGhost::AnotherGhost(){
ax = 1;
ay = 1;
direction = 5;
d = 0;
g = "A";
OrgX = 0;
OrgY = 0;
limit = 0;
speed = 0;
reduceLimit = 1;
}
AnotherGhost::AnotherGhost(int x, int y, string GhostG)
{
ax = x;
ay = y;
direction = 5;
d = 0;
g = GhostG;
OrgX = x;
OrgY = y;
limit = 0;
speed = 0;
reduceLimit = 0;
}
void AnotherGhost::increaseSpeed(int &dot){
if(dot>20){
if(limit != 50){
limit = 150 - 50;//10 * reduceLimit;
reduceLimit++;
}
}
}
*/ |