Skip to content

Commit

Permalink
Add TODOs to make decay equation. See #46.
Browse files Browse the repository at this point in the history
  • Loading branch information
Luisav1 committed Jun 15, 2023
1 parent a102e2a commit c5881cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/chart-intro/view/NuclideChartCell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ class NuclideChartCell extends Rectangle {

super( 0, 0, cellLength, cellLength, 0, 0, options );

// TODO: move protonNumber, neutronNumber, and decayType into cellModel.
// TODO: decayEquationModel would have property currentCell (that's a cellModel) which updates the resulting decay equation.
this.protonNumber = protonNumber;
this.neutronNumber = neutronNumber;
this.decayBackgroundColor = options.fill;

// TODO: why not store the decayType as the enumeration and not the string?
// TODO: why not store the decayType as the enumeration and not the string? - FIRST STEP
this.decayType = decayType;
}

Expand Down

0 comments on commit c5881cc

Please sign in to comment.