Skip to content

Commit

Permalink
Partial solution to name conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Nrosa01 committed May 1, 2024
1 parent 0c0e618 commit acd215b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/assets/models/particle.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
class ParticleModel {
static count = 0;
static particle_names = [];

constructor(display_name, data, blockly_workspace = null) {
ParticleModel.count++;

this.display_name = display_name;
this.data = data;
this.blockly_workspace = blockly_workspace;
Expand Down

0 comments on commit acd215b

Please sign in to comment.