probably full of mistake
This commit is contained in:
@@ -42,9 +42,11 @@ const XFTimeout *XFBehavior::getCurrentTimeout() {
|
||||
}
|
||||
|
||||
void XFBehavior::setCurrentEvent(const XFEvent *pEvent) {
|
||||
|
||||
pCurrentEvent_ = pEvent;
|
||||
}
|
||||
|
||||
XFBehavior::TerminateBehavior XFBehavior::process(const XFEvent *pEvent) {
|
||||
|
||||
setCurrentEvent(pEvent);
|
||||
processEvent();
|
||||
return deleteOnTerminate_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user