Monday 16 September 2013

Behaviour parameters


1 comment:

  1. Great work! A couple of things:

    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.

    ReplyDelete