Path: blob/master/SLICK_HOME/src/org/newdawn/slick/ControlledInputReciever.java
1456 views
package org.newdawn.slick;12/**3* Description of any class capable of recieving and controlling it's own4* reception of input5*6* You'll shouldn't really need to implement this one for your self, use one of the sub-interfaces:7*8* {@link InputListener}9* {@link MouseListener}10* {@link KeyListener}11* {@link ControllerListener}12*13* @author kevin14*/15public interface ControlledInputReciever {1617/**18* Set the input that events are being sent from19*20* @param input The input instance sending events21*/22public abstract void setInput(Input input);2324/**25* Check if this input listener is accepting input26*27* @return True if the input listener should recieve events28*/29public abstract boolean isAcceptingInput();3031/**32* Notification that all input events have been sent for this frame33*/34public abstract void inputEnded();3536/**37* Notification that input is about to be processed38*/39public abstract void inputStarted();4041}4243