new Base(options)
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
options |
* |
Properties
|
Extends
- ol.Object
Methods
-
draw(ctx)
-
Draw the particule
Parameters:
Name Type Description ctxCanvasRenderingContext2D -
getOverlay()
-
Get the particule overlay
Returns:
- Type
- ol.Overlay
-
getRandomCoord(dt)
-
Update the particule
Parameters:
Name Type Description dtnumber timelapes since last call
-
setOverlay(overl)
-
Set the particule overlay
Parameters:
Name Type Description overlol.Overlay -
update(dt)
-
Update the particule
Parameters:
Name Type Description dtnumber timelapes since last call