Upgraded for HaxeFlixel dev version; Added particleClass param in emitter constructor