         case NullPointerError
         case EditConstantError
     }
+}
+
+struct RGBA32: Equatable {
+    static let bitmapInfo = CGImageAlphaInfo.PremultipliedLast.rawValue | CGBitmapInfo.ByteOrder32Little.rawValue
+    var color: UInt32
+    
+    init(red: UInt8, green: UInt8, blue: UInt8, alpha: UInt8) {
+        color = (UInt32(red) << 24) | (UInt32(green) << 16) | (UInt32(blue) << 8) | UInt32(alpha)
+    }
+    
+    init(color: UIColor) {
+        let ci = CIColor(color: color)
+        self.init(red: UInt8(ci.red * 0xFF), green: UInt8(ci.green * 0xFF), blue: UInt8(ci.blue * 0xFF), alpha: UInt8(ci.alpha * 0xFF))
+    }
+}
+
+func ==(lhs: RGBA32, rhs: RGBA32) -> Bool {
+    return lhs.color == rhs.color
 }
        return nil
    }
    
    func rotateImpl(image: UIImage, radians: CGFloat, flip: Bool) -> UIImage {
        let rotatedViewBox = UIView(frame: CGRect(origin: CGPointZero, size: image.size))
        rotatedViewBox.transform = CGAffineTransformMakeRotation(radians)

//

import Foundation
import SpriteKit

class BBT2 {
    let null:String? = nil
