Progress
This commit is contained in:
@@ -224,6 +224,20 @@
|
||||
gameController.PacManCaught();
|
||||
}
|
||||
|
||||
public void GhostReturned()
|
||||
{
|
||||
foreach (var ghost in ghosts)
|
||||
{
|
||||
var state = ghost.GetGhostState();
|
||||
if (state == PacManGhostState.CaughtScore || state == PacManGhostState.Returning || state == PacManGhostState.Entering)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
gameController.NoGhostsRetreating();
|
||||
}
|
||||
|
||||
void SetGhostBlinking(bool blinking)
|
||||
{
|
||||
blinkingActivated = blinking;
|
||||
|
||||
Reference in New Issue
Block a user