 
 private extension ActivityIndicatorAnimationPacman {
 
-  func pacmanInLayer(layer: CALayer, color: UIColor) {
+  func animatePacman(in layer: CALayer, color: UIColor) {
     let pacmanSize = 2 * size.width / 3
     let pacman = ActivityIndicatorShape.pacman.makeLayer(size: CGSize(width: pacmanSize, height: pacmanSize), color: color)
     let animation = pacmanAnimation


private extension ActivityIndicatorAnimationPacman {

  func circleInLayer(layer: CALayer, color: UIColor) {
    let circleSize = size.width / 5
    let circle = ActivityIndicatorShape.circle.makeLayer(size: CGSize(width: circleSize, height: circleSize), color: color)
    let animation = circleAnimation


  public func configAnimation(in layer: CALayer, size: CGSize, color: UIColor) {
    self.size = size
    animateCircle(in: layer, color: color)
    animatePacman(in: layer, color: color)
  }

}
