photonstorm/phaser — pull request #1130 by beeglebug (2014-08-21 21:58:32+00:00)
Title: Feature/clone consistency

I noticed there was some inconsistency between the various Geom classes clone methods.

I added a clone function to both the Line and Polygon classes, and I made all the function signatures the same.

I also tidied up the Polygon class slightly by using the setter logic in the constructor instead of duplicating code.