         cPath.fill()
     }
     
-    func drawCube(#xi: Int, yi: Int, color c: NSColor)
+    func drawCube(#xi: Int, yi: Int, color: NSColor)
     {
         let h = sizey
         let w = sizex

        path.fill()
        
//        if skip != 1:
        let d1 = CGFloat(0.6)
        NSColor(red: c.redComponent*d1, green: c.greenComponent*d1, blue: c.blueComponent*d1, alpha: 1.0).set() // left
        path = NSBezierPath()
        path.moveToPoint(NSPoint(x: x    ,y: y))
        path.lineToPoint(NSPoint(x: x-w  ,y: y+s))

        path.fill()
        
//        if skip != 2:
        darkenColor(color, factor: 0.25).set()
        path = NSBezierPath()
        path.moveToPoint(NSPoint(x: x    ,y: y))
        path.lineToPoint(NSPoint(x: x+w  ,y: y+s))
