AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkApplication.Update Method

Is called during each iteration of the main loop to update the game state. The DeltaTimeSec is the number of seconds that has passed since the last call to Update. By default, this method is passed on to the current scene, but you can override this behavior.

Syntax
Pascal
procedure Update(const DeltaTimeSec: Single); virtual;
Parameters 
Description 
const DeltaTimeSec: Single 
the number of seconds that has passed since the last call to Update. 
Copyright (c) 2012. All rights reserved.