Right, but when you call ‘off’ in the switch, you are referencing a class specific function.
Also, again, if you used interfaces, you would still need the actor reference as the target for the interfcace call…
:-/
Right, but when you call ‘off’ in the switch, you are referencing a class specific function.
Also, again, if you used interfaces, you would still need the actor reference as the target for the interfcace call…
:-/