mirror of
https://github.com/wassname/phaser.git
synced 2026-07-04 17:20:31 +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:
@@ -10,6 +10,12 @@ Phaser.GameObjectFactory.prototype = {
|
||||
game: null,
|
||||
world: null,
|
||||
|
||||
existing: function (object) {
|
||||
|
||||
return this.world.add(object);
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* Create a new Sprite with specific position and sprite sheet key.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user