Created
May 29, 2017 15:50
-
-
Save azrsjp/968d9e888b80d2d44015a46d0636c539 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
import SpriteKit | |
class Controller<M: Model, V: View> { | |
let model: M | |
let view: V | |
init(model: M, view: V) { | |
self.model = model | |
self.view = view | |
} | |
func initialize() {} | |
func keyDown(with event: NSEvent) -> Bool { | |
return false | |
} | |
func mouseDown(with event: NSEvent) -> Bool { | |
return false | |
} | |
func rightMouseDown(with event: NSEvent) -> Bool { | |
return false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment