States (2nd compartment) should always be private. This means your UML notation should use a minus, rather than an addition symbol, to indicate the visibility of the state.
Method/behaviour parameters look great. I can see that the run method requires the player's agility and stamina in order to run, and that jump requires the player's agility.
Great work! A couple of things:
ReplyDeleteStates (2nd compartment) should always be private. This means your UML notation should use a minus, rather than an addition symbol, to indicate the visibility of the state.
Method/behaviour parameters look great. I can see that the run method requires the player's agility and stamina in order to run, and that jump requires the player's agility.