mirror of
https://github.com/photonstorm/phaser
synced 2024-12-18 09:03:29 +00:00
28 lines
432 B
TypeScript
28 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);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|