mirror of
https://github.com/photonstorm/phaser
synced 2024-12-25 12:33:38 +00:00
29 lines
432 B
TypeScript
29 lines
432 B
TypeScript
|
/// <reference path="../../_definitions.ts" />
|
||
|
|
||
|
module Phaser.Particles.Initializers {
|
||
|
|
||
|
export class Initialize {
|
||
|
|
||
|
initialize(target) {
|
||
|
}
|
||
|
|
||
|
reset(a,b,c) { }
|
||
|
|
||
|
init(emitter, particle= null) {
|
||
|
|
||
|
if (particle)
|
||
|
{
|
||
|
this.initialize(particle);
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
this.initialize(emitter);
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|