| Summary: | PacMan moves even after he looses he lost a life | ||
|---|---|---|---|
| Product: | Group14-Pacman | Reporter: | Aleksa <ajelaca2-c> |
| Component: | Game | Assignee: | Alex <alex.scriba> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | tianxyang3-c |
| Priority: | High | ||
| Version: | 0.0.1 | ||
| Hardware: | PC | ||
| OS: | Windows | ||
|
Description
Aleksa
2021-11-21 00:39:53 HKT
The problem was in void handleMovements(int, int) in Game.java. There was no indicator to tell us whether PacMan lost his life or not after the collision with ghosts. Now this is fixed by converting method resolveCollison(Ghost, boolean) into boolean and using conditionals in void handleMovements(int, int) |