Particle
Extends:
EventEmitter → Model → Particle
Static Method Summary
Static Public Methods | ||
public static |
deserialize(objectPattern: {"x": *, "y": *, "type": *, "options": *, "opacity": *}): * |
Constructor Summary
Public Constructor | ||
public |
constructor(x: *, y: *, type: *, options: *) |
Method Summary
Public Methods | ||
public |
render(ctx: *, drawer: *) |
|
public |
serialize(): * |
|
public |
step(dt: *) |
Inherited Summary
From class EventEmitter | ||
protected |
List of registers |
|
public |
Dispatch event |
|
public |
Listen event |
From class Model | ||
public static |
deserialize(data: Object): Model |
|
public get |
|
|
public set |
|
|
public get |
|
|
public set |
x: * |
|
public get |
|
|
public set |
y: * |
|
public |
|
|
public |
|
|
public |
parent: {} |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
Static Public Methods
public static deserialize(objectPattern: {"x": *, "y": *, "type": *, "options": *, "opacity": *}): * source
Override:
Model#deserializeParams:
Name | Type | Attribute | Description |
objectPattern | {"x": *, "y": *, "type": *, "options": *, "opacity": *} |
|
Return:
* |
Public Constructors
public constructor(x: *, y: *, type: *, options: *) source
Override:
Model#constructorParams:
Name | Type | Attribute | Description |
x | * | ||
y | * | ||
type | * | ||
options | * |
Public Methods
public render(ctx: *, drawer: *) source
Override:
Model#renderParams:
Name | Type | Attribute | Description |
ctx | * | ||
drawer | * |