com.monkeycoder.monkeynes.hardware
Class TimerMessage
java.lang.Object
|
+--com.monkeycoder.monkeynes.hardware.TimerMessage
- public class TimerMessage
- extends Object
This is a data transport class used as a message. It describes the data
from a heartbeat type timer.
Originally part of the MonkeyNES project.
- Author:
- David Stephens
|
Constructor Summary |
TimerMessage(long inClocks)
Creates a new TimerMessage detailing the number of elapsed clock cycles. |
|
Method Summary |
long |
getClocks()
Returns the number of elapsed clock cycles. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimerMessage
public TimerMessage(long inClocks)
- Creates a new TimerMessage detailing the number of elapsed clock cycles.
- Parameters:
inClocks - The number of elapsed clock cycles.
getClocks
public long getClocks()
- Returns the number of elapsed clock cycles.
- Returns:
- The number of elapsed clock cycles.