Class Netmonitor.AnimationQueue
java.lang.Object
Netmonitor.AnimationQueue
- Enclosing class:
- Netmonitor
- class Netmonitor.AnimationQueue
- extends java.lang.Object
Fifo circular buffer that holds animation frames.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
animationFrames
private Netmonitor.AnimationFrame[] animationFrames
maxBufferSize
private int maxBufferSize
framesInBuffer
private int framesInBuffer
head
private int head
tail
private int tail
Netmonitor.AnimationQueue
public Netmonitor.AnimationQueue(int maxSize)
getFrame
public Netmonitor.AnimationFrame getFrame()
putFrame
public void putFrame(Netmonitor.AnimationFrame frame)
setMaxBufferSize
public void setMaxBufferSize(int size)