may be this schema can help you:
class a: citizen
handler 32
//32 proceed (part 2)
handler_end
class_end
class b : a
handler 32
//32 proceed (part 1)
call_super
handler_end
class_end
в общем просто размазать обработку по цепочке классов child-parent
some Q about child-parent:
1. if I initialize some variable, i0 for example in class B, does value will be the same in A, or I should reinitialize value again?
2. Should I have the same handler descriprion in any child classes as in first parent class, where hadler declared?
I mean:
class A:
MENU_SELECTED(ask, reply, talker, i0)
and I should have the same in class B and any classes, which потомки(child) from class A?
|