Snow; Types; change event types from enum to Int as that's the way it comes from native, otherwise the enum breaks (see #37). This is more streamlined anyway and should fix compilation against 3.2 git versions of haxe