event-driven
external control:
when an event (often from the user) happens
program function/method is called from the outside
many (e.g. VB) or single entry point
on mouseClick(pos)
… …
end
on keyPress(key)
… …
end
handleEvent(event)
{
if (event.type … …
… …
}
Previous slide
Next slide
Back to first slide
View graphic version