public abstract class Event extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Event.Phase
C64 system runs actions at system clock high and low states.
|
Modifier and Type | Field and Description |
---|---|
protected String |
name
Describe event for humans.
|
protected Event |
next
The next event in sequence
|
protected long |
triggerTime
The clock this event fires
|
Constructor and Description |
---|
Event(String name)
Events are used for delayed execution.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
event()
Event code to be executed.
|
String |
toString() |
protected final String name
protected long triggerTime
protected Event next
public Event(String name)
name
- Descriptive string of the event.public abstract void event() throws InterruptedException
InterruptedException
Copyright © 2018 Ken Händel. All rights reserved.