public final class UpdateEvent
extends javafx.event.Event
| Modifier and Type | Field and Description |
|---|---|
static javafx.event.EventType<UpdateEvent> |
ANY |
source| Constructor and Description |
|---|
UpdateEvent(long tick,
double tpf)
Constructs update event.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setTick(long tick) |
void |
setTPF(double tpf) |
long |
tick() |
String |
toString() |
double |
tpf() |
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumedgetSourcepublic static final javafx.event.EventType<UpdateEvent> ANY
public UpdateEvent(long tick,
double tpf)
tpf - time per last framepublic void setTick(long tick)
public long tick()
public void setTPF(double tpf)
public double tpf()
public String toString()
toString in class EventObjectCopyright © 2017. All rights reserved.