public abstract class Timer extends Object
Constructor and Description |
---|
Timer(Player player)
Create a song length timer for the player
|
Modifier and Type | Method and Description |
---|---|
abstract void |
end()
Notification of tune end
|
abstract void |
fadeInStart(double fadeIn)
Notification of tune fade-in start
|
abstract void |
fadeOutStart(double fadeOut)
Notification of tune fade-out start
|
double |
getEnd()
Get tune end time in cycles
|
void |
reset()
Reset timer events
|
void |
setStart(double start)
Set tune start time
|
abstract void |
start()
Notification of tune start
|
void |
updateEnd()
Update timer end.
|
public Timer(Player player)
player
- SID playerpublic final void setStart(double start)
start
- start timepublic final void reset()
public final void updateEnd()
public final double getEnd()
public abstract void start()
public abstract void end()
public abstract void fadeInStart(double fadeIn)
public abstract void fadeOutStart(double fadeOut)
Copyright © 2018 Ken Händel. All rights reserved.