UNPKG

proton-engine

Version:

Proton is a simple and powerful javascript particle animation engine.

19 lines (14 loc) 293 B
import Vector2D from "../math/Vector2D"; export default class Zone { constructor() { this.vector = new Vector2D(0, 0); this.random = 0; this.crossType = "dead"; this.alert = true; } getPosition() {} crossing(particle) {} destroy() { this.vector = null; } }