Updated for phaser 2.0.0