Class: TO (of Obj)

The TO class simply a class to count down a time.

Properties

  • timeLeft

Methods

  • void doit()

    Decrements timeLeft if it is still greater than zero.

  • void set(number newTime)

    Sets the timeLeft property to newTime.