mirror of
https://github.com/wassname/phaser.git
synced 2026-07-02 17:00:42 +08:00
Fixed an error that stopped 2 tweens from being able to run on the same object. Also refactored a lot of the classes to remove prototype properties and move them to local instance properties.
This commit is contained in:
@@ -6,6 +6,9 @@ Phaser.InputHandler = function (sprite) {
|
||||
this.enabled = false;
|
||||
|
||||
// Linked list references
|
||||
this.parent = null;
|
||||
this.next = null;
|
||||
this.prev = null;
|
||||
this.last = this;
|
||||
this.first = this;
|
||||
|
||||
@@ -55,16 +58,6 @@ Phaser.InputHandler = function (sprite) {
|
||||
|
||||
Phaser.InputHandler.prototype = {
|
||||
|
||||
game: null,
|
||||
sprite: null,
|
||||
|
||||
// Linked list references
|
||||
parent: null,
|
||||
next: null,
|
||||
prev: null,
|
||||
first: null,
|
||||
last: null,
|
||||
|
||||
start: function (priority, checkBody, useHandCursor) {
|
||||
|
||||
priority = priority || 0;
|
||||
|
||||
Reference in New Issue
Block a user