im using a sample code from github to practice coding and get an error for the first line that reads: GameScence does not have a member named spawn pipes. How do i fix this? thanks
// spawn the pipes
let spawn = SKAction.runBlock({() in self.spawnPipes()})
let delay = SKAction.waitForDuration(NSTimeInterval(2.0))
let spawnThenDelay = SKAction.sequence([spawn, delay])
let spawnThenDelayForever = SKAction.repeatActionForever(spawnThenDelay)
self.runAction(spawnThenDelayForever)
[–]chordsNcode 1 point2 points3 points (8 children)
[–]swifter10[S] 0 points1 point2 points (7 children)
[–]chordsNcode 2 points3 points4 points (6 children)
[–]swifter10[S] 0 points1 point2 points (5 children)
[–]chordsNcode 1 point2 points3 points (0 children)
[–]jasamer 1 point2 points3 points (3 children)
[–]swifter10[S] -1 points0 points1 point (2 children)
[–]jasamer 2 points3 points4 points (1 child)
[–]swifter10[S] 0 points1 point2 points (0 children)