You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This turned into a bit of a mess -- doable, but at the expense of code readability. The optical objects are created by the subclass, and their positions are need to instantiate the guides. in the case of secondPoint, it's not really an optical object, just a position.
So at the expense of a few lines of duplicated code, I think it's best to keep things as is. The base class is responsible for creating things that are related to the optic. The subclasses are responsible for everything else.
For #374
Duplication in ArrowObjectScene and FramedObjectScene. The only thing that differs is the object arguments and
phetioDocumentation
.The text was updated successfully, but these errors were encountered: