Challenge 1 / 1
When implementing Command for player actions, why is it recommended to pass arguments to the constructor rather than the execute()
method?
Skip challenges and go to theNext Chapter
When implementing Command for player actions, why is it recommended to pass arguments to the constructor rather than the execute()
method?