fixed: replaced 'snake' with key

This commit is contained in:
jdowell 2014-07-15 14:24:47 -05:00
parent 6432817c7f
commit f969c15aea

View file

@ -84,7 +84,7 @@ Phaser.Rope = function (game, x, y, key, frame, points) {
*/
this._scroll = new Phaser.Point();
PIXI.Rope.call(this, 'snake', this.points);
PIXI.Rope.call(this, key, this.points);
this.position.set(x,y);