shouldn't certain methods in the abstract tool classes be final? Examples: setMaterial, equip, activate etc.
Logged In: YES user_id=720676
I don't think so. Users should be given the freedom to redefine the behaviour if needed.
Instead, what we should do is to clearly mark this (and other similar methods) as collaborators of the 'Template Method' design pattern.
Waht do you think?
Log in to post a comment.
Logged In: YES
user_id=720676
I don't think so. Users should be given the freedom to
redefine the behaviour if needed.
Instead, what we should do is to clearly mark this (and
other similar methods) as collaborators of the 'Template
Method' design pattern.
Waht do you think?