Try to use state machine pattern in example of father and son;
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool