Package net.paulhertz.pixelaudio.voices
Class TimedLocation
java.lang.Object
net.paulhertz.pixelaudio.voices.TimedLocation
- All Implemented Interfaces:
Comparable<TimedLocation>
Used to schedule or track events that take place at specific coordinate locations.
See WorkFlowApp3 and subsequent versions.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
x
private int x -
y
private int y -
eventTime
private int eventTime -
isStale
private boolean isStale
-
-
Constructor Details
-
TimedLocation
public TimedLocation(int x, int y, int eventTime)
-
-
Method Details
-
getX
public int getX() -
getY
public int getY() -
eventTime
public int eventTime() -
isStale
public boolean isStale() -
setStale
public void setStale(boolean stale) -
compareTo
- Specified by:
compareToin interfaceComparable<TimedLocation>
-