using namespace std; | |
/* | |
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++; | |
} | |
} | |
} | |
*/ |