That almost sounds like it would be better solved using the State Pattern or the Strategy Pattern. Basically you make the behavior that changes an external class hierarchy and then call the relevant method on the instance's current state or strategy instance.
In reply to Perhaps a better implementation
by Fletch
in thread Inheriting different types of things...
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |