public void MakeMovePacMan(Point newPacManLocation, Point eyeCoordinate, Point mouthCoordinate) { if (_map.IsOutOfWall(newPacManLocation) && IsNewPacManLocationInMap(newPacManLocation)) { _pacMan.DoStep(newPacManLocation); _pacMan.EyeCoordinate = new Point(_pacMan.PacManCoordinate.X + eyeCoordinate.X, _pacMan.PacManCoordinate.Y + eyeCoordinate.Y); _pacMan.MouthCoordinate = mouthCoordinate; _pacMan.EatFood(_map.LevelFood); } }