Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ccswift20150101
import Foundation
class MainScene: CCNode {
override func onEnter() {
self.userInteractionEnabled = true
super.onEnter()
}
override func touchBegan(touch: CCTouch!, withEvent event: CCTouchEvent!) {
println("touch!!")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment