Package net.java.games.input
Class EventQueue
java.lang.Object
net.java.games.input.EventQueue
A FIFO queue for input events.
- 
Constructor SummaryConstructorsConstructorDescriptionEventQueue(int size) This is an internal method and should not be called by applications using the API
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleangetNextEvent(Event event) Populates the provided event with the details of the event on the head of the queue.
- 
Constructor Details- 
EventQueuepublic EventQueue(int size) This is an internal method and should not be called by applications using the API
 
- 
- 
Method Details- 
getNextEventPopulates the provided event with the details of the event on the head of the queue.- Parameters:
- event- The event to populate
- Returns:
- false if there were no events left on the queue, otherwise true.
 
 
-