O'Reilly logo

Java™ ME Game Programming, Second Edition by Ph.D. Martin J. Wells, Ph.D. John P. Flynt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Gauge

The Gauge class provides objects that allow you to audit timed activities, such as the download or retrieval of data. The objects you can generate using the Gauge class can be interactive or noninteractive. As Table 12.3 reveals, the constructor for the Gauge class allows you to name the Timer class and indicate whether it should be interactive or noninteractive. The difference between the two modes is that when a Gauge object is interactive, you can set its counter to a value within the range you have defined for it. As the discussion of the Gauge constructor provided in Table 12.3 indicates, you set this range with the final two arguments in the constructor. The first of these sets the end or maximum value the Gauge counter accommodates. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required