Game Control Plus  1.2.2
 All Classes Namespaces Functions Variables Pages
net.java.games.input.Event Class Reference

Public Member Functions

final void set (Event other)
 
final void set (Component component, float value, long nanos)
 
final Component getComponent ()
 
final float getValue ()
 
final long getNanos ()
 
final String toString ()
 

Private Attributes

Component component
 
float value
 
long nanos
 

Member Function Documentation

final long net.java.games.input.Event.getNanos ( )

Return the time the event happened, in nanoseconds. The time is relative and therefore can only be used to compare with other event times.