mirror of
https://github.com/wassname/phaser.git
synced 2026-08-12 12:20:38 +08:00
Re-done the pointer handler so it respects the top-most rendered sprite in priority to anything below it, for both mouse over and click events.
This commit is contained in:
@@ -182,6 +182,11 @@ module Phaser {
|
||||
*/
|
||||
public z: number = 0;
|
||||
|
||||
/**
|
||||
* Render iteration
|
||||
*/
|
||||
public renderOrderID: number = 0;
|
||||
|
||||
/**
|
||||
* This value is added to the angle of the Sprite.
|
||||
* For example if you had a sprite graphic drawn facing straight up then you could set
|
||||
@@ -326,6 +331,9 @@ module Phaser {
|
||||
*/
|
||||
public destroy() {
|
||||
|
||||
//this.input.destroy();
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user