mirror of
https://github.com/wassname/phaser.git
synced 2026-07-13 01:00:12 +08:00
Added CSS3Filters plugin. Also modified Sprite to contain preUpdate call, so that update can be over-ridden by custom Classes + added an example for this.
This commit is contained in:
@@ -155,9 +155,9 @@ Phaser.Sprite.prototype = Object.create(PIXI.Sprite.prototype);
|
||||
Phaser.Sprite.prototype.constructor = Phaser.Sprite;
|
||||
|
||||
/**
|
||||
* Automatically called by World.update
|
||||
* Automatically called by World.update. You can create your own update in Objects that extend Phaser.Sprite.
|
||||
*/
|
||||
Phaser.Sprite.prototype.update = function() {
|
||||
Phaser.Sprite.prototype.preUpdate = function() {
|
||||
|
||||
if (!this.exists)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user