 import Foundation
 import SpriteKit
 import GLKit
+#if os(iOS)
 import UIKit
-
-private extension Selector {
-    static let tapped = #selector(Game.tapped(_:))
-}
+#endif
 
 public extension SKNode {
     public func radians(degrees: CGFloat) -> CGFloat {

        }
    }
    
    public override func didMoveToView(view: SKView) {
        let recognizer = UITapGestureRecognizer(target: self, action: .tapped)
        tapRecognizer = recognizer
        view.addGestureRecognizer(recognizer)
    }
    
    public override func willMoveFromView(view: SKView) {
        view.removeGestureRecognizer(tapRecognizer!)
    }
    
    func tapped(recognizer: UITapGestureRecognizer) {
        let pointInView = recognizer.locationInView(self.view)
        let point = convertPointFromView(pointInView)
        let nodes = nodesAtPoint(point)
        
        let screens = screensInArray(nodes)

}

public class Game: SKScene {
    #if os(iOS)
    var tapRecognizer: UITapGestureRecognizer?
    #endif
    
    private var screens = [GameView]()
    
    public func presentLoadingView(loadingScreen: GameLoadingView) {
