Difference between revisions of "TGame.OnClockTick"
(Created page with " '''''property OnClockTick''''' Access mode: RW ==Description== Event property called on iddle in frequency described by TickThreshold <br> ==Exma...") |
(No difference)
|
Revision as of 13:04, 24 July 2013
property OnClockTick Access mode: RW
Description
Event property called on iddle in frequency described by TickThreshold
Exmaple
procedure MyOnClockTickHandler(Ticks: Integer);
begin
WriteLn('OnClockTick event called: ' + IntToStr(Ticks));
end;
// ...
begin
// assign OnClockTickHandler
Game.OnClockTick := @MyOnClockTickHandler;
// ...
// unassign
Game.OnClockTick := nil;
end;