speed property

double speed
getter/setter pair

The time interval (in milliseconds) between frames.

Implementation

double speed = 1000 / 30;