27 lines
303 B
JavaScript
27 lines
303 B
JavaScript
|
class particleHandler {
|
||
|
constructor() {
|
||
|
|
||
|
}
|
||
|
new(type, location) {
|
||
|
const id;
|
||
|
return id;
|
||
|
}
|
||
|
|
||
|
destroy(id) {
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
class particle {
|
||
|
constructor(id, type, location, timeout = 6) {
|
||
|
this.id = id;
|
||
|
this.type = type;
|
||
|
this.location = location;
|
||
|
this.timeout = timeout;
|
||
|
}
|
||
|
|
||
|
}
|