Package net.paulhertz.pixelaudio.voices

# 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 Summary

  Fields
  Modifier and Type
  Field
  Description
  `private int`
  `eventTime`
  `private boolean`
  `isStale`
  `private int`
  `x`
  `private int`
  `y`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TimedLocation(int x, int y, int eventTime)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `compareTo(TimedLocation tl)`
  `int`
  `eventTime()`
  `int`
  `getX()`
  `int`
  `getY()`
  `boolean`
  `isStale()`
  `void`
  `setStale(boolean stale)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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>`