GPAnimator
Unit : GPAnimatorUnit
Association : GPAnimatorAsn
Inherits from : None
Description
- This class repeatedly calls its Action method. The Start, Step and
Stop methods provide control over this process. The SetInterval method
controls the interval between each call to the Action method. The
smaller the interval, the more often Action will be called.
Public Interface
-
CONSTRUCTOR Init;
Initializes the GPAnimator.
DESTRUCTOR Destroy; VIRTUAL;
Destroys the GPAnimator.
PROCEDURE Start; VIRTUAL;
Starts the calling of the Action method, if not already active.
PROCEDURE Step; VIRTUAL;
Calls the Action method once, then calls Stop.
PROCEDURE Stop; VIRTUAL;
Stops the calling of the Action method, if already active.
PROCEDURE SetInterval(milliseconds: integer);
Sets the time interval between calls to the Action method. The
milliseconds parameter specifies number of milliseconds. The default
interval is 100 milliseconds.
PROCEDURE Action; VIRTUAL;
Method that is repeatedly called. This method should be redefined in
sub-classes. Note: no other GPAnimator method should be called from
within Action.
Subclasses
- None
Please report any problems with GP or the documentation to
GP Support
.
Loring Holden