I have the following constructor in a class for a code I'm writing an assignment on for school:
public Plant(int xPos, int yPos,int width,int height, int hp,String imageLocation,String audioLocation,Stage stage)
The only parameter I find valuable to show in the UML diagram I'm creating is Stage
. Could the other parameters be omitted then? This is the only constructor in the class so there is no chance of confusion in regard to that. Though, I suppose one could get confused to not find the method when searching through the actual code later on?
Edit: I'm interested in the advice of UML practitioners using UML diagrams outside of university, and not opinions on what could please my teacher (see comments).