Class TimedLocation

java.lang.Object
net.paulhertz.pixelaudio.voices.TimedLocation
All Implemented Interfaces:
Comparable<TimedLocation>

public class TimedLocation extends Object implements Comparable<TimedLocation>
Used to schedule or track events that take place at specific coordinate locations. See WorkFlowApp3 and subsequent versions.
  • 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

      public int compareTo(TimedLocation tl)
      Specified by:
      compareTo in interface Comparable<TimedLocation>