![]() |
![]() |
![]() |
![]() |
![]() |
|
So far, the new controller class inherits all its behavior from the parent,
do-nothing, Controller class. To produce new behavior, you must
define a new controlActivity method to override the do-nothing
controlActivity method defined for the Controller class. The
controlActivity method sits in a loop in which it is sent repeatedly
to the controller instance, thus executing constantly, always looking for
events that it recognizes.