timer
==============================================================================
class that implements timer that can be started, stopped, reset, and can
have its value saved to the aircraft specific data file. Saving the value
is done automatically by the aircraft.Data class.
SYNOPSIS:
timer.new(<property> [, <resolution:double> [, <save:bool>]])
<property> ... property path or props.Node hash that holds the timer value
<resolution> ... timer update resolution -- interval in seconds in which the
timer property is updated while running (default: 1 s)
<save> ... bool that defines whether the timer value should be saved
and restored next time, as needed for Hobbs meters
(default: 1)
EXAMPLES:
var hobbs_turbine = aircraft.timer.new("/sim/time/hobbs/turbine[0]", 60);
hobbs_turbine.start();
aircraft.timer.new("/sim/time/hobbs/battery", 60).start(); # anonymous timer