AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkAccelerometer.Speed Property

Returns the current direction speed as an absolute value between 0 and 1.4.

Syntax
Pascal
class property Speed: Single;

This is used with Angle to determine the extent of the direction. The direction is an emulated value that will use an accelerometer where available or keyboard arrow keys if not.

Copyright (c) 2012. All rights reserved.